Forum Moderators: open
I use this:
<SCRIPT Language="Javascript">
document.write('<a href="http://address.com">Link Text</a>');
</SCRIPT>
This was google sees nothing, and neither do people who have javascript disabled!
The danger is that if you stop "giving" PR benefit you could lose valuable inbound links if they're recips and end up shooting yourself in the foot. Some people do check, especially if they expect something back for a good PR link they're giving you. Then, others who see it won't link to you in future, if they're savvy.
I used something similar on my site:
href="http://<domain>/cgi-bin/link.pl?http://www.othersite.com/">
and then denied the link.pl script with a robots.txt, but the links still
show up as backlinks in google... I guess you'd be better off by using a db
and a code instead of the url as parameter
I wrote it to track stuff, so I've a little admin screen where you can ad links / modify, see how many hits url's have gotten and also you can see any call's to the script that have no id's i.e. their not pointing to any URL.
I'd be willing to provide the code, just sticy me if you want it.
function url() { hidden=open('http://www.siteyouwanttolinkto.com','NewWindow','status=no,resizable=yes,scrollbars=yes'); }
save it in a subdirectory along with a blank index file. Disallow the subdirectory with robots.txt
In the head of the page(s) with the link put
<script language="JavaScript" src="directory/filename.js"></script>
for the link put
<a href="javascript:url()"
Hope this helps
cut
This will open the page in a new window with no navigation or address bars and Googlebot won't follow it.
In this case:
<a href="#" onclick="window.open('http://www.somedomain.com/index.html', 'defined link title should be same as anchor text','toolbar=yes or no,resizable=yes or no,scrollbars=yes or no,width=800,height=600,left=0,top=0');">link anchor text</a>
(remove "yes or" "or no" depending on which attributes you use.)
with popping out to a new window and no tool bars you are ensuring that the visitor will return to your site and without needing to back out or losing their way. (make sure though that the new domain fits your attributes selected).
This also hides the new domain name, meaning they will most likely need to come back to your site to find the linked domain again.
could you give me a example of this, I am brand new at this. could you show me a working model of this please?
teeceo.
Caution is always best but sites with penalities tend to be quite noticeable why they are penalized.
If still in doubt, link through cgi-bin and disallow googlebot is robots.txt for this directory.