• Resolved Thomymaster

    (@thomymaster)


    Hi

    I want to change my permalinks but only for WooCommerce products (i do not want to change my global permalink settings).

    Instead of this (like its now)

    <base url>/produkt/<slug>/

    I want to have this

    <base url>/produkt/<sku>

    It has to work with WPML also so in english it should look like this

    <base url>/produkt/<sku>/?lang=en

    How can this be achieved?

    Best,
    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi Thomas,

    How to change permalinks to use SKU?

    WooCommerce has no built in feature for this. You will need to use custom for this, for example: https://www.themelocation.com/how-to-add-sku-to-product-url-in-woocommerce/ or https://wordpress.stackexchange.com/questions/146143/add-sku-to-product-url-woocommerce/146149

    Please note that we provide no warranty or support for custom code or 3rd party plugins (meaning we cannot not help you further with this code snippet or www.remarpro.com / GitHub plugins). Use them at your own risk.

    **Also: Before you do that, please do make a full backup!**

    It has to work with WPML also so in english it should look like this

    This will be tricky and will require additional knowledge of how WPML generates and manages permalinks. I expect that this is something a web developer will have to work on for you.

    Kind regards,

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful and you were able to proceed as advised.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change permalinks to use SKU?’ is closed to new replies.