Modify Remove /product/ , /product-category/ , or /shop/ from the Permalink

The Bottom Line

DO NOT REMOVE /product//product-category/, or /shop/ from the URLs.
You may keep /shop/
DO NOT use any SEO plugin to achieve this.

In summary

Due to the way WordPress resolves its URLs, removing /product//product-category/, or /shop/ from the URLs is not advisable. It uses theproduct-categorybase (or any other text for that matter) of an URL to detect that it is an URL leading to a product category.

There are SEO plugins that allow you to remove this base, but that can lead to a number of problems with performance and duplicate URLs.

Recommended to avoid

If you type in a product category URL, you will make it more difficult for WordPress to recognize what page you are trying to reach.

Also, note that the standard “Page” in WordPress always has no base text in the URL. For example:

What would happen if we remove that ‘product-category’ part?

WordPress will have to do much more work to detect what page you are looking for when entering one of the above URLs. That is why we do not recommend using any SEO plugin to achieve this.


We will be happy to hear your thoughts

Leave a reply

Compare items
  • Total (0)