Tuesday, November 15, 2022
HomeWordPress DevelopmentTips on how to rewrite woocommerce permalink with out utilizing localization?

Tips on how to rewrite woocommerce permalink with out utilizing localization?


I must load each merchandise utilizing the next url construction:

https://instance.com/watches/model/1926/123456789/

the place the url is split in:

watches: is the primary web page kind

model: it is the model of the product

1926: assortment identify, is dynamic too

123456789: is the slug of the product

Now the issue is expounded to the gathering identify, on this case 1926, internally we’ve outlined two classes named 1926, one have 1926-en and one other 1926-fr, so we tried to alter the permalink construction as:

/watches/model/%product_cat%/

however on this case the permalink will likely be: /watches/model/1926-fr.

Is there a approach to deal with that state of affairs?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments