Hi, I have a site currently that has a lot of pages but i am moving to new software so all the page names are going to be different. I was to create a htaccess file to redirect the old URLs to the new ones. What is the best way to write this is in the htaccess file? Old URLs are like this: http://www.website.co.uk/acatalog/page_name.html New URLs are like this: http://www.website.co.uk/product/product_name/ Cheers, Adam
Ok, I take it page_name is the variable that will be translated into product_name RewriteEngine On RewriteRule ^product/([a-z]*)/ /acatalog/$1.html Code (markup):