robots.txt disallowing urls

1 replies
  • SEO
  • |
Hey everyone.
I need to disallow some url’s on my site but I am not sure how to do that. I have some site that have products, reviews… When someone make some review its generate url automatically like this:

www.mysite/addreview_1.htm
www.mysite/addreview_2.htm
.
.
.
www.mysite/addreview_9999.htm and so on ….

So I need some query to disallow all this urls which will appear in some near future.
Does anyone know how to do this?

Thanks in advance!
#disallowing #robotstxt #urls
  • Profile picture of the author netmatrix
    This should work:

    Disallow: addreview*.htm
    {{ DiscussionBoard.errors[8122806].message }}

Trending Topics