| Correct way to exclude all dynamic pages under one url?
|
jackgordon

msg:3844628 | 7:53 pm on Feb 7, 2009 (gmt 0) | Hello I have a page, proddetail.php. I want to exclude all the dynamic pages that run off that url, using robots.txt file. eg. proddetail.php?prod=1 proddetail.php?prod=2 proddetail.php?prod=3 proddetail.php?prod=4 proddetail.php?prod=5 and so on..... What is the correct and easiest way to write this in the robots.txt file? Thanks Jack
|
g1smd

msg:3844641 | 8:18 pm on Feb 7, 2009 (gmt 0) | Disallow: /proddetail.php? This disallows any URL starting /proddetail.php, and which includes a question mark, and anything else after it.
|
jackgordon

msg:3844671 | 8:55 pm on Feb 7, 2009 (gmt 0) | Thanks! :)
|
|
|