• Resolved TechMan

    (@techman)


    When I click on any tag (I am talking about the ones we set while adding product) on my site then I get 404 file not found error. Here’s the tag URL:

    https://www.ads-software.com/shop/tagname

    For e.g. if tag is “cotton” then URL will become https://www.ads-software.com/shop/cotton

    How do I set its permalink so it doesn’t throw 404 error. Products, categories and sub categories permalinks are working fine only tags has issue. Here’s my permalink setting:

    The base I am using is “shop” for all i.e. category, product, tag, product category, product tag and product attribute.

    For product permalinks I am using Custom Base which is “/product/%product_cat%/”

    My web server is nginx

    Screenshots given below:

    View post on imgur.com

    View post on imgur.com

Viewing 1 replies (of 1 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @techman,

    By default product tag URLs in WooCommerce will have this structure https://yourdomain.local/product-tag/tagname/

    I tested on one of my installations for us copying your configuration from https://imgur.com/9fAkv3J and it seems this particular structure is not supported for tag URLs.

    The Product tag base it seems cannot be set to shop otherwise it seems to break the URL structure causing 404 errors.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Tags permalink giving 404 file not found error’ is closed to new replies.