• Resolved Friggha

    (@friggha)


    Hi,

    I am struggling with getting the path for WooCommerce categories, tags and products.

    I would like the URLs to look as follow:
    Store page – mydomain.ext/store/
    Category page – mydomain.ext/store/mycategory
    Tags page – mydomain.ext/store/mytag
    Product – mydomain.ext/store/mycategory/myproduct

    I seem unable to achieve this regardless of the combination of permalinks I use.

    Store page – mydomain.ext/store/ OK
    Category page – mydomain.ext/[product category base]/mycategory
    Tags page – mydomain.ext//[product tag base]/mytag
    Product – mydomain.ext/store/mycategory/myproduct OK

    I would not mind the tags that much, but I’d really like to get the category URL right.

    Any idea or suggestion? I’ve checked a few discussions to no avail.

    https://www.ads-software.com/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    If you’re read previous discussions you would have seen that categories require a base. Otherwise WordPress doesn’t know what type of content to display and you’d get 404 errors.

    Thread Starter Friggha

    (@friggha)

    Thank you for your reply.

    I have read official documentation and a number of posts without finding a solution.

    As the plugin author do you feel mydomain.ext/[product category base]/mycategory is the best solution rather than mydomain.ext/[store/shop base]/[product category base]/mycategory or mydomain.ext/[store/shop base]/mycategory?

    I believe what I am trying to achieve is quite reasonable, especially from a user point of view.

    If my store base is /store why would I not have that in the URL for the stores’ categories?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    You can have ‘shop’ on the base of that too I think, as long as the [product category base] part is set and unique.

    Thread Starter Friggha

    (@friggha)

    Hi Mike,

    I finally found the combination that seems to do the job. In Settings > Permalinks, I left Category base blank and used [shop base]/[product category base] as Product category base

    I had tried a number of combinations without success. I still can’t simply get the shop category just after the store base, but this will do.

    ??

    Thank you for taking the time to reply!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get store categories URL with store base in it’ is closed to new replies.