Thursday, 25 April 2013

Making links “nofollow” or “open in new window”

If you link to websites that Google consider to be bad neighbourhood your site could be at risk of being penalized, if you know that you are linking to a quality website then fine. Linking to a website is like voting for that site, you should use the correct tag when linking to a website that you can’t vouch for. This way you won’t risk getting slapped by Google, we have posted some examples to show you the different ways of linking to a website.

<a href=”http://www.seowebdirectory.com”>Seo Web Directory</a>

Here is the same link with a “nofollow”

Link Title "Seo Web Directory"

Here is what the code looks like:

<a href=”http://www.seowebdirectory.com” rel=”nofollow”>Seo Web Directory</a>

Here is the same link with “nofollow” and “open in new window”

Link Title "Seo Web Directory"

Here is what the code looks like:

<a href=”http://www.seowebdirectory.com” rel=”nofollow” target=”_blank”>Seo Web Directory</a>

Now here is a no-follow open in new window target="blank" xhtml valid.

<a rel="nofollow" onclick="window.open(this.href); return false;" href="http://www.seowebdirectory.co.uk/">Seo Web Directory</a></p>

Hopefully this will give you a better idea how to use and add links

0 comments:

Post a Comment