I have a problem whereby google has indexed some pages with the wrong URL.
The URL they are indexing is:
http://www.example.com/user/emp.php
and HTML URL:
http://www.example.com/login.html
I need it to redirect to:
http://www.example.com/user/emp
and HTML URL:
http://www.example.com/login
here is my .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^([^\.]+)$ $1.html [NC,L]