Forum Moderators: phranque
http://www.domain.com/$1?[R=301]
http://www.domain.com/, instead of
http://www.domain.com/index.php?page=index
http://www.domain.com/index.php?page=otherpage.
http://www.domain.com/otherpage
RewriteCond %{QUERY_STRING} ^([^&]*&)*page=([^&]+)
RewriteRule ^index.php$ http://www.domain.com/%1? [R=301,L]
RewriteRule {any old stuff here} - [G] ^([^&]*;)*option= Syntax is a bear.
RewriteCond %{QUERY_STRING} ^com_dtregister RewriteCond %{QUERY_STRING} com_dtregister RewriteRule .+ - [G] Which is better to clean cruft out of Google Cache? 301 or 410?
I was worried the 301 was leaving the links but creating a massive duplicate content at the target (home page). So if I gave Google a 410 eventually it would let go of the idea that the links are ever going to be meaningful.
Does this sound reasonable?
Only use this feature if you feel confident about how parameters work for your site. Telling Googlebot to exclude URLs with certain parameters could result in large numbers of your pages disappearing from our index.