L
L
leooverlight2020-03-29 12:17:54
Link Shortening
leooverlight, 2020-03-29 12:17:54

How to make a strict hierarchy of product links in wordpress?

Given:

WordPress store, made with the help of woocommerce.

There are goods in the store, divided into categories.

Now it looks like this:
Store URL: site.ru/shop
Category URL: site.ru/product-categories/category
Product URL: site.ru/shop/category/product

I want it to look like this:
Store URL: site.ru/shop
Category URL: site.ru/shop/category
Product URL: site.ru/shop/category/product

In "Permanent Links" I was tinkering this way and that. If the prefix is ​​the same in both the headings and the product (store prefix), then either the headings return 404 or the product.

CHADNT?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question