• Resolved jrdavenport

    (@jrdavenport)


    I am trying to change the URL that my products are shown at from index.php/product/1/ to index.php/item/1/ by giving my product permalinks a custom base as decribed in https://docs.woocommerce.com/document/permalinks/#section-3.

    When I change the product custom base to item/ and click save, I see that it is actually saved as /item/. When I navigate to my shop, I see that the items incorrectly link to index.php//item/club-1/ (notice the double //) and I am unable to access the items using any variants of the URL manually.

    The shop page (with the incorrect item URLs) can be seen here – https://ec2-18-130-26-221.eu-west-2.compute.amazonaws.com/index.php/shop/

    Does anyone know how I can resolve this issue? It feel like what I’m trying to do should be really simple.

    Thanks,
    James

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey James!

    Are you using any custom code or plugins that modify the permalinks?

    The /item/ is the way it should display in the Custom Base field on the Permalinks page, but sometimes an extra trailing slash can be added by plugins that manage permalinks, translations, or SEO.

    I would suggest seeing if the same behavior happens with just WooCommerce active. If that fixes the problem, slowly re-activate your plugins until the issue appears again to see where it’s coming from.

    Let me know how it goes.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue changing WooComerce product URL slug’ is closed to new replies.