I am using a fantastic plugin called Query Multiple Taxonomies which provides a widget to “drill down” by category / tag and other custom taxonomies you may have.
The site is livetonom.com.
The widget (on the sidebar) gives URLS ending:
/?category_name=restaurants&locations=london
Is it possible to rewrite that to something like:
/restaurants/london
I tried using a rewrite rule generators but stuff like this added directly to .htaccess
did not work:
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /?category_name=$1&locations=$2 [L]
I’m not even sure that adding to .htaccess
directly is correct or will work – can anyone let me know if this is a non-starter or how I go about this?