Issue with Custom Permalink Structure Not Saving in WooCommerce
-
Hello WooCommerce Community,
I am experiencing an issue with setting custom permalinks for my WooCommerce products. I am trying to set a custom structure to only display
%product_cat%/
(and the the title of the product) in global product URLs in wp-admin/options-permalink.php .However, when I input this structure into the ‘Custom Base’ field under WooCommerce Product Permalinks and save the changes, the permalink structure reverts to adding a
/produit/
prefix before%product_cat%/
.Here are the steps I’ve taken:
- Navigated to Settings > Permalinks in my WordPress dashboard.
- Scrolled down to the ‘Product permalinks’ section.
- Entered
/%product_cat%/
into the Custom Base field. - Clicked ‘Save Changes’.
Despite these steps, the structure does not save as intended and instead reverts to
/produit/%product_cat%/
. I have tried clearing my cache and confirmed that no other plugins are interfering with the permalinks.Has anyone else encountered this issue, or does anyone have insights on how to properly save the custom permalink structure without the unwanted prefix? Any help or guidance would be greatly appreciated.
For instance for the moment i got this 2 options :
1/boutique/%product_cat%/
https://wikihhc.com/boutique/okiweed/small-buds-thcp-avis-effets-okiweed/
In this case i would like to remove : / boutique
2/%product_cat%/produit/ :
https://wikihhc.com/okiweed/produit/small-buds-thcp-avis-effets-okiweed/
In this case i would like to remove : / produit.
What i would like is :
https://wikihhc.com/okiweed/small-buds-thcp-avis-effets-okiweed/
Just the Category and the product
I know i can use Rankmath or Permalink Manager for WooCommerce?but if use this way i can’t use mu extension wich translate the page…
So is like i have to use the default systeme.Thank you in advance for your assistance!
- The topic ‘Issue with Custom Permalink Structure Not Saving in WooCommerce’ is closed to new replies.