cmonkey Posted October 31, 2007 Share Posted October 31, 2007 instead of using get like index.php?subpage=name some sites use something like index.php/subpage as seen on http://plog4u.org/index.php/Programming:PHP:arrays how does this work? and whats it called? Quote Link to comment https://forums.phpfreaks.com/topic/75508-subpage-system/ Share on other sites More sharing options...
trq Posted October 31, 2007 Share Posted October 31, 2007 mod_rewrite. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*)$ index.php?page=$1 [L] </IfModule> Quote Link to comment https://forums.phpfreaks.com/topic/75508-subpage-system/#findComment-381948 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.