title: WooCommerce URL to filter by attribute
body: <p>I am trying to find out the URL I need to display products on my shop page based on an attribute. The attribute is called "<strong>Mantel Type</strong>" (slug <strong>mantel-type</strong>) and the term is "<strong>Mantel With Overmantel</strong>" (slug <strong>mantel-with-overmantel</strong>). The term has an ID of <strong>106</strong>. I've tried the following URLs, but all products are displayed, rather than the expected 22, or I get a 404 error.</p>
  
  <p>mysite.com/shop/?attribute_mantel-type=Mantel+With+Overmantel</p>
  
  <p>mysite.com/shop/?attribute_mantel-type=mantel-with-overmantel</p>
  
  <p>mysite.com/shop/?taxonomy=pa_mantel-type?&amp;tag_ID=106</p>
  
  <p>mysite.com/shop/?filter_mantel-type=106</p>
  
  <p>mysite.com/shop/?filter_mantel-type=Mantel+With+Overmantel</p>
  
  <p>mysite.com/shop/?filter_mantel-type=mantel-with-overmantel</p>
  
  <p>mysite.com/shop/?pa_mantel-type=Mantel+With+Overmantel (404 error)</p>
  
  <p>mysite.com/shop/?pa_mantel-type=106 (404 error)</p>
  
  <p>I have made sure that the enable archives checkbox has been selected in the Mantel Type attribute editor.</p>
  
  <p>I've had success with product categories, just not attributes. This product category link works, for example:</p>
  
  <p>mysite.com/shop/?product_cat=french</p>
  
  <p>How can I include attributes in the URL as well? Thank you for your time.</p>