Forum Moderators: goodroi
User-agent: *
Disallow: /folder/stuff/
Disallow: /folder/stuff/
Disallow: /folder/stuff/
User-agent: Googlebot
Allow: /folder/*action=this_link
Disallow: /folder/*action=
Disallow: /folder/*other_stuff
What I am trying to achieve is this;
I want Google to follow links with "action=this_link" in the URL. But I want to block all other links with the term "action=" in the URL.
Am I right in thinking that, if I put the 'Allow' line first, that I will achive my aim?
Much appreciated.
User-agent: Googlebot
Allow: /folder/*action=this_link
Disallow: /folder/*action=
Disallow: /folder/*other_stuff
_______________________________
Will give you this result with Google:
site.com/folder/action=this_link Allowed
site.com/folder/action=that_link Blocked
site.com/folder/action= Blocked
site.com/folder/other_stuff Blocked