Hijacking the URL for filtering
WordPress also has a rewriting mechanism, it’s better to use that instead of doing it in the .htaccess file. You can add your own rewrite rules to it. In your case we want to store the cat1 part in a separate query variable, so we also need to tell WordPress to allow this query variable … Read more