Support » Plugins and Hacks » SKU Permalink

SKU Permalink

  • Is there a way to make an item’s permalink based off its SKU?
    Idealy I’d love for it to be example.com/ABC123 (Assuming ‘ABC123’ is the SKU), but I think it has to have ‘/shop/’ prefixed onto it.

    So far I’ve tried:
    Which do not work. I cannot seem to find a listing of all Woocommerce’s available tags (something like wordpress’).

    Anyone know of a way to make this work?


Viewing 3 replies - 1 through 3 (of 3 total)
  • It looks to me like you’d need some custom rewrite rules for your site, in which case a developer could create that code for you.

    I’ve just gone back and quick edited each post’s slug to be the same as the SKU. Would be awesome if that could be made automatic, but I doubt I can get approval to hire a dev for something that only adds 10 seconds onto the creation of each listing.

    Your approach is great if you don’t have loads of products. Glad you found an easy fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SKU Permalink’ is closed to new replies.