Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Jennifer507

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

No particular trickery is required. Using mod_rewrite in .htaccess:

RewriteEngine On
RewriteRule ^ecommerce/cabinets/aluminium_cabinets$ /products/cabinets/?types[]=illuminated-aluminium-cabinets&types[]=non-illuminated-aluminium-cabinets [R,L]


Apache will escape (percent encode) the square brackets ([ and ]) by default, which are not strictly allowed unencoded in this context in the URL. (This won't affect reading the URL parameters using PHP's $_GET array.)

This is a temporary (302) redirect. To make it permanent, change R to R=301. Alternatively, to make it an internal rewrite, simply remove the R flag.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme