Sorry for the somewhat cryptic title! I’ll try to explain. I have the following in my .htacess:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
So users can type domain.com/foo/bar and domain.com/foo/bar.php is served. Of course, typing domain.com/foo/bar.php also loads the same page.
So, in Google Webmaster Tools (under HTML Suggestions), Google thinks that i have duplicated all my meta descriptions and title tags as it sees bar and bar.php as two different files. I am worried Google will penalise this “duplicate content”. What should i do? I am sure im not the first one to have this issue, but i am struggling to find related questions/answers.
Thanks for any help
The answer i used (as per my original comment) from here which solved my problem