IIS 7 Rewrite with parent categories
Finally figured out the answer. It is a mix of multiple different solutions I have found online but here it is! First step is to add this to your functions.php add_rewrite_rule( ‘products/([^/]+)/([^/]+)/?’, ‘index.php?pmfg_product_categories=$matches[1]&products=$matches[2]’, ‘top’ ); Secondly you will need this in your web.config <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <rewrite> <rules><rule name=”WordPress Rule” stopProcessing=”true”><match url=”.*”/><conditions><add input=”{REQUEST_FILENAME}” … Read more