S
S
sergo5732021-11-12 16:23:20
WordPress
sergo573, 2021-11-12 16:23:20

How to properly set up CNC for Woocommerce in Wordpress?

Help set up the correct CNC (arbitrary links) in Wordpress + Woocommerce.
I need the following structure: site.ru/catalog/category_name/product Woocommerce
store address: catalog

If I enter the following settings in "Custom links":
Product category database: catalog
Product tag database: product-tag
Product permalinks - Custom database: / catalog/%product_cat%/
THEN
Page: site.ru/catalog/category_name/ gives an error
Page: site.ru/catalog/category_name/product works

If in "Custom links" I change:
Product category database:katalog
TO
Page: site.ru/catalog/category_name/ gives an error
BUT
Page: site.ru/katalog/category_name/ works
And the product page works at the same address: site.ru/catalog/category_name/product works

Something like this, if you have any questions, ask, I tried to explain everything clearly, in the end you need to achieve such an address with working links:
website.ru/catalog/category_name/product

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergo573, 2021-11-15
@sergo573

In general, I solved this problem thanks to this article: Click here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question