Answer the question
In order to leave comments, you need to log in
How to properly organize the store structure with ajax filters?
Good afternoon.
Shop on wordpress (woocommerce). I use ajax filters. When the filter is active, the following url is generated
domain.ru/shop/?filter=1&product_cat=vreznye-zamki&pa_proizvoditel=mottura&paged=1
domain.ru/shop/product-category/vreznye-zamki/mottura/
This page will have a title, text, and products (the same as for ajax filtering). domain.ru/shop/product-category/vreznye-zamki/mottura/
on thedomain.ru/shop/?filter=1&product_cat=vreznye-zamki&pa_proizvoditel=mottura&paged=1
domain.ru/shop/product-category/vreznye-zamki/mottura/
Answer the question
In order to leave comments, you need to log in
According to the structure, everything is correct, in order not to produce copies there is:
And it’s better to bring the urls to the form
domain.ru/vreznye-zamki/mottura/
or if it’s very difficult (for example, there will be more pages at the same url), then at least
shop.domain.ru/vreznye-zamki/mottura/
this is all resolved through taxonomies and rewrite api
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question