You can only attract recruiters if your profile turns up in their searches. Make sure your profile is complete and uses good SEO practices and keywords. Get endorsements and recommendations as well. Try to build up your contact lists. Use a professional profile picture; you want to look like the job you're trying to get. Keep your profile current and have a good summary. Post articles in your homepage feed and comment on those of others. Include your location; it's an important screening tool for recruiters. Make sure your education appears, and indicate your industry. Display your current position (unless for some reason your employer does not permit this). Finally, network with executive recruiters. You can even use Open Candidates which creates a signal only available to executive recruiters with a premium recruiter account—just the person you want to be looking for you.