title: WooCommerce Url rewrites
body: <p>I've got the same problem described in this post:
  [<a href="https://stackoverflow.com/questions/24187090/wordpress-url-rewrite-for-woocommerce-attributes][1]">WordPress URL rewrite for WooCommerce attributes</a>, except that I need to filter by attribute not only inside a category. 
  Unfortunately, I cannot post a comment before reaching a higher reputation, so I'm creating a new question.</p>
  
  <p>I defined a manufacturer attribute and if I want to browse all products from a certain manufacturer, I can use a url like www.example.com/shop/?filter_manufacturer=230, where 230 is the attribute ID.
  I tried adding a endpoint, like suggested in the post linked above above, but I cannot get the rewrites working; for example, if I try to open www.example.com/shop/manufacturer/manufacturer_name I get a 404 error.</p>
  
  <p>It's not clear to me if I should change anything in the permalink settings in Wordpress and, if yes, how. 
  I've always flushed the rewrite rules after every edit, BTW.</p>