XpertWorlock Posted July 28, 2010 Share Posted July 28, 2010 Example URL that I would use : http://mysite.com/classifieds/category?page=2&priceFrom=400.00 RewriteCond %{QUERY_STRING} ^page=([0-9]+) [OR] RewriteCond %{QUERY_STRING} ^priceFrom=([0-9]+) RewriteRule ^classifieds/([a-zA-Z',\s]+)/?$ /classifieds.php?search&category=$1&page=%1&priceFrom=%2 [L,NC] It determines what page is when printed out, but "priceFrom" comes up empty. What am I doing wrong? I need it to work whether both or only one are set Link to comment https://forums.phpfreaks.com/topic/209101-get-parameters-not-working-properly/ Share on other sites More sharing options...
cags Posted July 28, 2010 Share Posted July 28, 2010 I assume as this is marked as solved that you figured out to use the QSA flag? Link to comment https://forums.phpfreaks.com/topic/209101-get-parameters-not-working-properly/#findComment-1092198 Share on other sites More sharing options...
XpertWorlock Posted July 29, 2010 Author Share Posted July 29, 2010 Yes, thanks for replying anyways [QSA] for people that read this thread and want to know how I solved it Link to comment https://forums.phpfreaks.com/topic/209101-get-parameters-not-working-properly/#findComment-1092403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.