Permalink/URL Slug Structure
-
hello,
I am really impressed with Woocommmerce and Storefront, but am a bit stuck on my URL Hierarchy for the store -> Product categories -> Products and am hoping there is a straightforward way to get a (imo) more consistent url pattern. I understand that there are mechanisms in place to prevent conflicts, ie category or product names inadvertently matching something used elsewhere but, in my case, I have no risk of that happening (are not even any normal “categories” used only product categories/products and single pages).
Info: my site is multilingual, using polylang pro (in case relevant, but shouldnt be an issue since the urls are always unique due to the /en/ etc after .com)
Anywho, what I want to achieve is along these lines:
mysite/shop
mysite/shop/%product_cat%/
mysite/shop/%product_cat%/”product”but no matter what it wont work, at the very latest when drilled down to the product. I even attempted a “less desirable” workaround, ie changing my shop page slug to “store” so it would be:
mysite/store
mysite/shop/%product_cat%/
mysite/shop/%product_cat%/”product”but even that wouldnt work. I have messed around with permalink structures and string translations under languages until i am blue in the face but no luck.
I have looked at permalink plugins that deal with this (such as Premmerce permalink manager and Permalink manager lite) but at least in the free version it wont work to get this structure and, although i definetely dont mind paying for plugins, it seems like there must be a easier and free way to achieve just this ONE thing…. am a-ok with all the other permalink structures as is. I don’t mind using a function or whatever, or maybe i am misunderstanding permalinks and there IS a way to achieve this straighforward, linear structure without having to pad it with “filler” like “product category” or use store/%product_cat%/ and switch to shop/%product_cat%/”product”…..
idears?
- The topic ‘Permalink/URL Slug Structure’ is closed to new replies.