Forum Moderators: open
I'm converting the site totally to html, I still want links to client sites, only I want to code them so that Yahoo and Google won't count them. There are several methods of doing this, which would probably be the most effective for my specific need?
If you use javascript document.write(), it is less likely that the links will be followed. They still might if the url is an unambiguous text string rather than being "assembled" from pieces -- but it won't be seen as a link.
Or, you could make the article into html, but present the links as Flash.
I would just link with straight out html and not play around with it -- that's just me. I operate mostly from an abundance mindset. What goes around does seem to come around, you know?
If you use javascript document.write(), it is less likely that the links will be followed. They still might if the url is an unambiguous text string rather than being "assembled" from pieces -- but it won't be seen as a link.
Can you recommend a good tutorial for writing a javascript text link that will create a link not likely to be followed?
It's essentially the same method you can use to "hide" email addresses from automated email harvesters [webmasterworld.com], except that some email harvesters are getting quite sophisticated these days. I would also choose not-so-obvious names for the variables.
Outbound links to respectable and relevant sites may help your SERPS.
I'm already #1 in all major search engines for my target keywords for that site, though. So my concern at this point isn't what's going to improve my position, its making sure that my position doesn't get worse as the result of Google and Yahoo devaluing inbound links.
I'm not familiar with writing in Javascript, so I guess I'll look up a few resource sites to determine how exactly I should code the links.
<script type="text/javascript">
// this should be placed in the <head>
function createLink(text,url1,url2){
document.write('<a href="' + url1 + url2 +'">' + text + '<\/a>');
</script>
}
<script type="text/javascript">
// this should be placed in the <body>
createLink('GOOGLE','http://www.go','ogle.com');
createLink('YAHOO' ,'http://www.ya','hoo.com');
</script>
Urls are split to ensure robots don't follow them.
Kaled.