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, 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] 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. 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
Archived
This topic is now archived and is closed to further replies.