Removing /product-category/ and /shop/ from URL in WooCommerce

醉酒当歌 提交于 2020-12-15 03:43:20

问题


I'm building an ecommerce store with WooCommerce, and I would like to change how my URLs are created. At the moment the structure is

domain.com/product-category/category-name
domain.com/shop/category-name/product-name

For SEO purposes would like to change it to

domain.com/category-name
domain.com/category-name/product-name

but when I delete the product category base in Wordpress permalink settings, it just reappears. Then I found this page stating that I shouldn't change it at all. Is that true? Am I wrong in wanting to alter the URLs?

If it's fine to change them, how can I do it?


回答1:


I think this is helps you.

Removing those URL is definitely one of the major improvements in search engine optimization for any online store because then search engines will not take into account the unnecessary words in the link. So, the search for your products will become more precise. I also encountered this problem and tested most of the plugins that were available on the WordPress website. Now I definitely can recommend Permalink Manager by Premmerce because it's free, very user friendly and simple plugin.

You can download it in WordPress site here: https://wordpress.org/plugins/woo-permalink-manager/

Thanks.



来源:https://stackoverflow.com/questions/59752543/removing-product-category-and-shop-from-url-in-woocommerce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!