• In my site i have some categories and subcategories from each category. The problem i gave lies in the urls itself for example, this urlsiteexample.com/product-category/cat1/sub1/prod1/ contains a product with a subcategory and a category. If i navigate to this link

    siteexample.com/product-category/cat1/prod1/ or even at this link

    siteexample.com/product-category/sub1/prod1/

    it will show correctly the product 1, which is wrong because the url siteexample.com/product-category/cat1/prod1/ doesnt actually exists without the subcategory 1. How do i fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you call up these URLs manually? WordPress would only need to use unique URLs for its own links based on the permalinks definitions – not many different ones. Ultimately, only what is linked everywhere and stored as a canonical URL on the product is relevant for search engines. Take a look at the latter in the HTML code.

    Thread Starter paourissi

    (@paourissi)

    Yes i call them manually. The thing is that all 3 urls are returning the same thing.

    How all the urls are valid? Only one should be valid and the other two return 404.

    I dont see any HTML code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.