Wednesday 20 April 2022

How to Removing product _ product-category _ or shop from the URLs in WordPress, WooCommerce?

Here, Removing /product/, /product-category/, or /shop/ from the URLs is not advisable due to the way WordPress resolves its URLs. It uses the product-category (or any other text for that matter) base 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.


Try following Plugins:-
1> Remove slug from custom post type
https://wordpress.org/support/plugin/remove-slug-from-custom-post-type
Just install & activate this plugin/remove-slug-from-custom-post-type

2> SEO Ultimate
https://wordpress.org/plugins/seo-ultimate/
In SEO Ultimate settings under 'Permalink Tweaker' check the 'Product Categories' and save.


For more Interesting, Useful Article & codes visit IT New Code.

Ankit Shah PHP Expert

IT New Code suggest a solution for your problem related to coding, Specially .PHP, Wordpress, WooCommerce, Magento, HTML and CSS. Visit Our website for Information.

0 comments:

Post a Comment

 

Copyright @ 2016 IT New Code | Developing Code | Designing Code.

Designed by: Ankit Shah