Support » Plugin: Permalink Manager Lite » Duplicate product category url

  • Resolved Feruz Khamidi


    All subcategories in WordPress woocommerce create 2 urls to same page.

    both urls go to the same page. in the eyes of Google this is duplicate content.
    is there solution for this issue in permalink manager paid one? I checked many woocommerce websites and all have this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maciej Bis


    Hi @malinaparty,

    Theoretically, you can use Permalink Manager Pro to (canonical) redirect the alternative product category URLs to the canonical (correct) address.

    Anyway, it might be overkill. Personally, I would write a custom code snippet that would compare the actual product category URL (get_term_link()) with requested URL ($wp->request). If the latter does not match the first one, you can make WordPress display 404 error page or force the canonical redirect.

    Best regards,

    Thank you for your fast reply, i prefer your second suggestion, will seek how to write this snippet, it would be nice to see this feature in future permalink manager paid one, many pple would buy it only because of this function, including me).

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