kev88 Posted October 4, 2008 Share Posted October 4, 2008 Should this work to change a directory? RewriteEngine on RewriteRule ^/pages/(.*) /site/include.php?page=$1 Link to comment https://forums.phpfreaks.com/topic/127025-issues-with-mod_rewrite/ Share on other sites More sharing options...
The Little Guy Posted October 5, 2008 Share Posted October 5, 2008 THIS: RewriteEngine on RewriteRule ^/pages/(.*) /site/include.php?page=$1 OR: RewriteEngine on RewriteRule ^pages/(.*) /site/include.php?page=$1 One of the two should work Link to comment https://forums.phpfreaks.com/topic/127025-issues-with-mod_rewrite/#findComment-657314 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.