Link exchange and X-Robots-Tag
By Herve le turdu

or how not to give a link in exchange of a link.

In the HTTP header, we can set the X-Robots-Tag :

header("X-Robots-Tag: noindex", true);

will prevent search engines from showing the file.

However, you could prevent search engines from following the links on those pages, by doing the following:

 header("X-Robots-Tag: nofollow", true);

The links on the page will appear as followed when they are not followed.

Get the best prices on the web



RECENTLY BLOGGED ABT

TWEETS

  • My twitter:

Test of NS:

I will try to insert different elements into it:

Broken TWiTTs :(

  •  

AUTHOR

  • Hervé Le TurduMy name is Herve Le Turdu.
    I am a 32 years old french* man with an inquiring mind and an enthusiastic personality. Get to know me better !

    *Pardon my English tainted with a strong accent and of many mistakes

Projects & Work

LINKS - BeCause they deserve it!

I Love SEOgadget ----------------------------------------------------
Testing stuff:
http://leturdu.com/2010/03/link-exchanga-and-x-robots-tag/

Test 1 // show post ID: 217

Test 2 // show category page: SEO