Hello ~
I replaced underscores for hyphens for some of my URL's (ones not sold yet). I want to list the specific URL's because all are 4-5 words and too different to use wildcard.
I downloaded hyphen named files to web host and deleted the underscore ones. In my DB table changed those file names to use hyphens also.
So NOW in my google webmaster tools I'm getting message "duplicate meta descriptions" and "duplicate title tags" for each one.
Below is condensed version of htaccess file. Is there something wrong there? Thank you...
RewriteEngine on
# Use PHP5 as default
AddHandler application/x-httpd-php5 .php .html
# 1 keep here at top
ErrorDocument 404 /notfound.html
# 2 underscore to hyphen
RewriteRule ^file_one\.html$ http://www.example.com/file-one.html [R=301,L]
# 3 underscore to hyphen
RewriteRule ^file_two\.html$ http://www.example.com/file-two.html [R=301,L]
# 4 index.html hidden on home page url
# always keep above canonical code
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html http://www.example.com/$1 [R=301,L]
# 5 canonical always to www
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]