Title: Error in URL
Last modified: October 2, 2026

---

# Error in URL

 *  Resolved [ktrg2024](https://wordpress.org/support/users/ktrg2024/)
 * (@ktrg2024)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/error-in-url-5/)
 * Hi,
 * URL is working even if the category is incorrect.
 * For example: 
   This is correct – /rto-materials/cpc-training-package/cpc20720/
   But this also works – /rto-materials/**bsb**-training-package/cpc20720/, going
   to the same page.But this also works – /rto-materials/**ahc**-training-package/
   cpc20720/, going to the same page.And all the other categories still work even
   if not selected.No other categories has been selected.Is there a fix to this?
   Thanks!
    -  This topic was modified 1 week, 2 days ago by [ktrg2024](https://wordpress.org/support/users/ktrg2024/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Robert Fortaleza](https://wordpress.org/support/users/robfrtlz/)
 * (@robfrtlz)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/error-in-url-5/#post-19034582)
 * Hi [@ktrg2024](https://wordpress.org/support/users/ktrg2024/),
 * Thanks for the detailed explanation.
 * To help us investigate this properly, could you please submit a support ticket
   through our support platform here: [https://premmerce.com/contact-us/](https://premmerce.com/contact-us/)
 * Our team will be happy to look into this further.
 *  Plugin Author [Premmerce](https://wordpress.org/support/users/premmerce/)
 * (@premmerce)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/error-in-url-5/#post-19034743)
 * Hi [@ktrg2024](https://wordpress.org/support/users/ktrg2024/),
 * Thanks for the clear examples. This is a known bug in Permalink Manager, not 
   something specific to your site. When a URL ends in a product’s slug, the plugin
   loads that product without checking that the categories before it match. So `/
   rto-materials/bsb-training-package/cpc20720/` shows the same product as `/rto-
   materials/cpc-training-package/cpc20720/`.
 * We’re working on a fix. Once it’s in, those wrong-category URLs will return a
   404 (or a 301 to the correct URL if you use redirects). We’ll announce it in 
   the plugin’s changelog when it ships.
 * In the meantime:
    1. If you have the Pro version, go to Permalink Manager settings and switch on **
       Create redirects**. Any wrong-category URL will then 301 to the product’s correct
       URL.
    2. On the free version, your product pages should still output a canonical tag 
       pointing to the correct URL, so search engines treat the other versions as duplicates
       of the real one rather than separate pages.
 * You don’t need to open a ticket for this one. I’ll mark this thread resolved,
   but feel free to reply here if anything else comes up.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-url-5%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woo-permalink-manager/assets/icon.svg?rev=3728122)
 * [Premmerce Permalink Manager for WooCommerce](https://wordpress.org/plugins/woo-permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-permalink-manager/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Premmerce](https://wordpress.org/support/users/premmerce/)
 * Last activity: [1 week, 1 day ago](https://wordpress.org/support/topic/error-in-url-5/#post-19034743)
 * Status: resolved