I have some unfavorable links in my site footer which I'm supoosed to leave untouched. I wish to noindex them, but not sure I can do it using <noindex> meta tags. Is it possible to do so, by wrapping it with some code? Or somehow using robots.txt? I have had someone tell me to use iframes, but I read it isn't quite the perfect fix. What do you guys suggest? Thank you
If u want some links not to be indexed by the search engine bots then insert following line into ur robots.txt file User-Agent: * Disallow: <Link to be noindex> Code (markup): If u are using "nofollow" for a link then search engine will index that link but will not give any benefit like PR to that link. Hope this will help
I cannot nofollow the links directly in my footer.php, for they are encrypted and should remain untouched in the footer. Can you think of a way to apply the nofollow directive from elsewhere? Like, is it possible to nofollow a URL using robots.txt or some other workaround? The reason I want to noindex my footer is to avoid penalty from Google since the links are irrelevant to my blog content and I couldn't get to nofollow them.
Are you sure the links are actually encrypted? The may just be encoded and you can change them. Post a sample and we can take a look. You can no follow individual links this way. <a href="http://www.somesite.com" rel="nofollow">Site</a>
No, it's clearly mentioned in the footer.php that if the links are edited, the site might stop working and it did happen so when I tried adding nofollow to them; there are hacks to decrypt them, but it would be against the license terms of the theme I'm using. Yea, I know to add the nofollow attribute - just wondering if it is possible to use it on the concerned URLs from elsewhere...