JKG Posted August 24, 2011 Share Posted August 24, 2011 I have mod_rewrites in use for a site of mine, i want to just add on the end of some of the pages another variable (for pagination) i cant $_GET['start'] either of these with use of mod_rewrites /supplier-search-results.html&start=30 /supplier-search-results.html?start=30 the actual page is: index.php?page=results the rule is: RewriteRule ^supplier-search-([^/]*)\.html /site/index.php?page=$1 thanks! Quote Link to comment https://forums.phpfreaks.com/topic/245581-dummy-question-_get-a-varialble-when-using-mod_rewrites/ Share on other sites More sharing options...
trq Posted August 24, 2011 Share Posted August 24, 2011 RewriteRule ^supplier-search-([^/]*)\.html /site/index.php?page=$1 [QSA] Quote Link to comment https://forums.phpfreaks.com/topic/245581-dummy-question-_get-a-varialble-when-using-mod_rewrites/#findComment-1261333 Share on other sites More sharing options...
JKG Posted August 24, 2011 Author Share Posted August 24, 2011 thanks thorpe!! Quote Link to comment https://forums.phpfreaks.com/topic/245581-dummy-question-_get-a-varialble-when-using-mod_rewrites/#findComment-1261334 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.