Forum Moderators: open
I want to cross-link some sites I run (to aid user navigation) - but I am worried about being penalised for heavy cross linking as the sites are hosted on the same IP.
I read in another post about using javascript - but I'd like to avoid that if possible.
At the moment, I use a redirection script like this: a link to http://www.mysite.com/redirect.php?id=site2 will redirect to http://www.myothersite.com/. Will Google follow that link?
1. Using Javascript Link (googlebot won't follow javascript link)
2. Using form submit button (google won't follow form)
3. Use a redirect script but in the redirect script add a meta robots tag to noindex,nofollow (search it in google to get the exact syntax tag) Googlebot will still read the file but it won't index and follow it.
4. Use a redirect script and use robots.txt to disallow your script. (RECOMMENDED!) googlebot won't even touch your script.
We put external links on a separate page and use a meta tag of 'noindex,nofollow'. Seems to work fine as we don't get penalized for this.
I don't understand how to do this, but I'd like to learn. I know how to put in a noindex, nofollow tag, but how do you link from the page HTML to the external file with the link and the noindex, nofollow metatag?
Sorry if this is a stupid question. I've been using Javascript links to do this for now which I guess will soon be ineffective.
<meta name="robots" content="nofollow">
There are shorter versions of the Robots META Tag that you can use...
all
No restrictions on indexing the page, or following links from the page to determine pages to index. Equivalent to: index, follow.
Note: The Robots META Tag listed above (all) is a duplicate effort as this is the default setting for spidering robots. You do not need this tag if you want all spiders to index the content.
none
Robots are to ignore this page. Equivalent to: noindex, nofollow.
<meta name="robots" content="none">
Common Usage for the Robots META Tag
The most common use for the robots meta tag is for excluding content. Here are three (03) examples of using the robots meta tag correctly to exclude information from search services.
A robot terms of noindex allows the links on that page to be followed, even though the page is not to be indexed.
<meta name="robots" content="noindex">
A robots terms of nofollow allows the page to be indexed, but no links from the page are followed.
<meta name="robots" content="nofollow">
A robots terms of none is the same as noindex, nofollow. Neither the page or the links on that page will be followed or indexed.
<meta name="robots" content="none">
We put external links on a separate page and use a meta tag of 'noindex,nofollow'. Seems to work fine as we don't get penalized for this.
Jane_Doe, willtell is actually building a separate page for their off site links. On that separate page they are including the robots tag mentioned to prevent links from being indexed and followed.
<meta name="robots" content="noindex,nofollow">
Which can be replaced with this shorter version...
<meta name="robots" content="none">
<td bgcolor="#5A739C" valign=middle align=center onClick="location.href='http://domain/index.html'" onMouseOver="this.style.cursor='hand';return true;"; onMouseOut="this.style.cursor='auto';return true"><a class=foo href="http://domain/index.html">link text</a></td>
You could do a server side redirect with php using the header() function.
header("Location: [someothersiteorpageelsewhere.com...]