Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Underscore to Hyphen, Now Getting Duplicate Message in Google WMT



9:42 pm on Jan 8, 2013 (gmt 0)

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]


10:04 pm on Jan 8, 2013 (gmt 0)

WebmasterWorld Senior Member jimbeetle is a WebmasterWorld Top Contributor of All Time 10+ Year Member

It might be what you have happening is that though THIS_url was deleted and replaced by THIS-URL, Google has not yet caught up with the deletion. So now it's telling you that the title and meta description elements of the two pages are dupes.


3:27 pm on Jan 9, 2013 (gmt 0)

Ok, I'll wait for the dups to drop off. Thank you.


3:32 pm on Jan 9, 2013 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

It can take a couple of months for things to catch up.

As long as the site returns to correct 301 redirect for non-canonical requests and there is only ONE step from any non-canonical URL to the canonical URL things should work out OK in the end.

Featured Threads

Hot Threads This Week

Hot Threads This Month