Thread
:
How can i disallow indexing of one page if ...
View Single Post
08-09-2012, 05:02 AM
k0nr4d
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
robots.txt or
<? if($_SERVER['REQUEST_URI'] == "/blah/blah.html") { ?>
<meta name="robots" content="noindex">
<? } ?>
do
<? echo $_SERVER['REQUEST_URI']; ?> to get the value for the page you are on.
__________________
Mechanical Bunny Media
Mechbunny Tube Script
|
Mechbunny Webcam Aggregator Script
|
Custom Web Development
k0nr4d
View Public Profile
Visit k0nr4d's homepage!
Find More Posts by k0nr4d