bradmasterx Posted July 11, 2010 Share Posted July 11, 2010 RewriteEngine on RewriteRule ^home/$ /index.php?page=home How can i make this so home/?page=1 index.php?page=home&page=1 Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/207403-cant-get-mod_rewrite-to-work-like-this/ Share on other sites More sharing options...
wildteen88 Posted July 11, 2010 Share Posted July 11, 2010 You'll want to use Query String Append flag ( QSA ) RewriteRule ^home/$ /index.php?page=home [QSA] Quote Link to comment https://forums.phpfreaks.com/topic/207403-cant-get-mod_rewrite-to-work-like-this/#findComment-1084374 Share on other sites More sharing options...
cags Posted July 11, 2010 Share Posted July 11, 2010 But of course your not going to want to use 'page' for both items of information. Quote Link to comment https://forums.phpfreaks.com/topic/207403-cant-get-mod_rewrite-to-work-like-this/#findComment-1084376 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.