Product url
-
So I have a dilemma and I’m not sure if I’ve done something wrong or if its intended to be like this.
My product urls are structured like this: example.com/products/category/productslug/ Now if I go to a product and change the url to something like this: example.com/products/cate/productslug/ Please note that it could be any variations where the category is changed aslong as there is one letter in the category part of the url. Then it will not give me a 404 error or redirect me to the normal url. In other words I will still be on the product page but the url will stay as it’s typed.
Changing /products/ or /productslug/ will give me a 404 error.
If I go to a normal post and do the same thing (they are structered like this: /category/postslug/) then I will be redirected to the right url. So for example changing example.com/news/postslug/ to example.com/n/postslug/ I will be redirected to the original url.
I’ve been working a long time with wordpress and woocommerce and have never noticed this behavior before and I’m not sure if it’s intended to be like this or if something is wrong with my rewrite rules.
Any clarification about this would be greatly appreciated.
Thanks in advance!
- You must be logged in to reply to this topic.