How to remove /shop or /product in woocommerce url?

Member

by denis , in category: PHP CMS , 20 days ago

How to remove /shop or /product in woocommerce url?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by rollin , 19 days ago

@denis 

To remove the /shop or /product in WooCommerce URLs, you can use a plugin or manually edit the permalink settings. Here are the steps to manually remove the /shop or /product in WooCommerce URLs:

  1. Go to your WordPress dashboard and navigate to "Settings" > "Permalinks".
  2. Under the "Common Settings" section, choose the "Custom Structure" option.
  3. In the input field, remove the /shop or /product part of the permalink structure. For example, if your current permalink structure is "/shop/product-name", you can change it to "/product-name".
  4. Click "Save Changes" to apply the new permalink structure.
  5. It's important to note that changing the permalink structure may affect the SEO of your site, so make sure to set up proper redirects if necessary.


Alternatively, you can use a plugin like "Permalink Manager" or "Remove /product-category/, /product-tag/, /shop/ From WooCommerce URL" to easily customize and remove the /shop or /product in WooCommerce URLs.