I have set the /shop/%product_cat% in permalink so that my product url will be sitename/shop/category-name/product-name/. It works fine.

Also i need Shop based category url i.e. sitename/shop/category-nname/ and i have set Product category base as shop.

Now problem is that, all categories are showing 404 page not found error. Removing shop in Shop based category in permalink showing all category pages but with a precedence product-category/category-name/ But I don’t need that.

Can someone suggest what will be the solution.

Read more here: Category url redirecting to single product page


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: