However, all the existing pages are .html.
Can a parse all php pages to .html?
What code do a put in .htaccess? and where. Currently i have
- Code: Select all
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]*/)*index\.html? [NC]
RewriteRule ^(([^/]*/)*)index\.html?$ http://www.hip-consultant.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^hip-consultant\.co\.uk [NC]
RewriteRule ^(.*)$ http://www.hip-consultant.co.uk/$1 [R=301,L]
Redirect 301 /services.html http://www.hip-consultant.co.uk/HIP_EPC_services.html