deansaddigh Posted June 19, 2009 Share Posted June 19, 2009 Hi guys, all i am trying to do is re-write my php pages to look like html pages. i found this code on the internet Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc] i have enabled mod rewrite on my apache server. and saved the .htaccess file in the route of my site. It does absolutley nothing and my http://localhost/index.php stay as http://localhost/index.php ive attached an image to show that my .htaccess file is saved in route [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/162924-solved-htaccess/ Share on other sites More sharing options...
wildteen88 Posted June 19, 2009 Share Posted June 19, 2009 mod_rewrite does not rewrite the links within your pages for you. You have to update your links manually. You should be going to http://localhost/index.html Link to comment https://forums.phpfreaks.com/topic/162924-solved-htaccess/#findComment-859696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.