I have a website built in .php but we have converted it to .html by using "mod rewrite". the mod rewrite code used in .htaccess is
"RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php"
Now the problem is my website shows up in both .php and .html.
for example: www.mydomain.com/index.html and also www.mydomain.com/index.php.
as per my knowledge its not good for seo purpose and also it may fall in duplicate content to search engines.
so i want to keep only .html [not .php] url live on search engines and for users.
how to do that?