boxturt Posted August 4, 2010 Posted August 4, 2010 Long time no see! I hope everyone is well. I thought I knew how to do this but I am having no luck so I apologize if this has been asked and answered. I am physically changing all my .shtml pages to .html. Isn't there a way to do the redirect in .htaccess in one line? (rather than doing them page by page in Cpanel) Thanks. Ty Quote
OJB Posted August 4, 2010 Posted August 4, 2010 Yes there is: > RewriteEngine On RewriteRule ^/(.*)\.shtml$ /$1.html That should work I think. Quote
boxturt Posted August 4, 2010 Author Posted August 4, 2010 Thank you kindly. I'll give this a try in in the next few days. Thanks for the help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.