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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/127025-issues-with-mod_rewrite/#findComment-657314 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.