skip to Main Content
author
62 views
0 votes

Php – .Htaccess Customize Query String

I am using the code below.
RewriteCond %{QUERY_STRING} ^brands=(.*)&features=(.*)$
RewriteRule ^products/([_A-Za-z0-9-]+)$ index.php?brands=%1&features=%2

However, this requires both values. For

Back To Top
Search