hi guys, have a problem, Google is indexing duplicated pages like a mad. I have got with modrewrite this type of pages: http://www.mydomain.net/foro/index.php/topic,676.new.html#new I think the #new is no problem, but the good url is this way: http://www.mydomain.net/foro/index.php/topic,676.0.html How can I prevent Google from indexing the first one? I don't know, maybe this:? Disallow: /*.[.new.html]$ Code (markup):
If your mod rewrite is adding the "#new" part, why not just change the mod rewrite? The line you suggest won't work in robots.txt, AFAIK... that syntax is for .htaccess not robots.txt