hamza Posted October 13, 2009 Share Posted October 13, 2009 RewriteEngine On RewriteBase /the_directory RewriteRule ^(.*).html$ $1.php [R=301] above is my code which will change the extension from html to php. my dir structure is c:\appserv\www\myfile.html and same form .htaccess when i load the myfile.html it is not runing as i am expecting? plz help me Quote Link to comment Share on other sites More sharing options...
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.