Jump to content

Disallow: /category.php? in robots.txt


outblast

Recommended Posts

it will not work as you expect, because the url (without friendly urls) to categories looks like:

index.php?id_category=4&controller=category&id_lang=1

so if you want to block categories for robots - you should block urls one by one

Link to comment
Share on other sites

if you make seperate directory of folder for your product categary then you can disallow Google crawler by directory or folder name.

 

User-agent: *

Disallow: /folder1/

or

User-agent: *

Disallow: /dir1/

Disallow: /dir2/

Disallow: /dir3/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...