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

Member

by denis , in category: PHP CMS , a year ago

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

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by rollin , a year 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.

Related Threads:

How to remove product-category from urls in woocommerce?
How to remove duplicate product with same product id in woocommerce?
How to remove url from woocommerce my account order number?
How to disabling shop cart in woocommerce?
How to customize woocommerce shop page without plugins?
How to add quantity field on shop page for woocommerce?