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