Permalinks and mod_rewrite – how to make query url look like directory
-
Originally posted here but thought this sub-form might get me some results: https://www.ads-software.com/support/topic/permalinks-and-mod_rewrite-how-to-make-query-url-look-like-directory?replies=0#post-1771717
Ok,
So I have a car listings site setup with permalinks enabled as standard and it works fine.
However, there’s almost 70k cars on it so I created a custom search page
where the user selects car make, model, year, price, mileage, colour etc…I’m wondering if there’s a way to add a rule to the .htaccess file that would convert
https://www.mysite.com/used-cars/?make=renault&model=clio etc
to
https://www.mysite.com/used-cars/renault/clio/WITHOUT breaking the normal WP permalinks. I just have the permalink structure set to /%postname%/
Any help appreciated.
<b>I’ve six posts in the previous thread on my progress</b> can that thread be moved here?
- The topic ‘Permalinks and mod_rewrite – how to make query url look like directory’ is closed to new replies.