: Disable outbound links without letting others know that Is there a way I can tell google not to follow external links ( pointing to other sites) without letting other know. I know you can
Is there a way I can tell google not to follow external links ( pointing to other sites) without letting other know.
I know you can disable outbound links by putting rel=nofollow or something in robots.txt.
But that's something others can see as well.
I'm just wondering if there's a way to tell google not to follow those links without letting others know that... like a setting in webmaster tools or something similar
( there's definetly one way. I could set an exception in my conf file for my server to check the user agent to be "googlebot" and then serve a different version of robots.txt. So that when a different user would check that link it would return a different robots.txt thant the one served to googlebot. However I'm not too sure google would be too happy about this)
Thank you
More posts by @Gloria169
2 Comments
Sorted by latest first Latest Oldest Best
To me it sounds as if you want to allow people to post linking under the impressions they are followed. Yet when Google comes to your site you want them not followed. To do this you would have to write a program to monitor user agents. When Google arrives all links by users would get nofollow. You would not reasonably be able to monitor by IP since Google uses so many. Now the problem is people can set a user agent and check how your site looks when Google visits it. I don't see anything good with what you want to do but it is possible.
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false)
{
// It's Googlebot, set nofollow on my links
}
Here's the perfect solution; prevent your users from using your site as a link farm. Without some morally questionable techniques and things that could sink your PR like the Titanic (But faster), the only way to not have your site flagged as a link farm is to not be a link farm.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.