Cheap Flights - Secured Loans - Pontins - Flights - Loans

PDA

View Full Version : Some "advanced" help


Davilac
Sep 22nd 2005, 6:44 am
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]$

minstrel
Sep 30th 2005, 6:22 am
:confused:

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