Hi chrishirst,
Thank you very much for your reply.........................
The old sites urls were say like this
www.domain.co.uk/page1.html
The web desginer built the new mark up in php and added the below code to the .htaccess file.............
I told them i did not want the urls to change
================================================== ======
Options +FollowSymLinks
RewriteEngine On
# rewrite php extensions to html
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^([^/]*).html$ $1.php
================================================== ======
I then added the below code
================================================== =======
RewriteCond %{HTTP_HOST} ^domain\.co.uk [NC]
RewriteRule (.*) http://www.domain.co.uk/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.domain.co.uk/$1 [R=301,L]
================================================== ========
I have never done 301 redirects that include php like this,
thanks