The Bottom LineDO NOT use any SEO plugin to achieve this.
1- Premmerce Permalink Manager for WooCommerce Plugin
Premmerce Permalink Manager for WooCommerce is developed to improve the current WooCommerce URL configuration features and provide your store with better display options and additional SEO capabilities to adhere to WooCommerce SEO Audit standards.
THE MAIN COMPETITIVE ADVANTAGES OF THE PLUGIN
- Automatic adding of the ‘rel = canonical’ attribute, which eliminates duplicate pages in the search results and is highly recommended by most search engines.
- Optimized work speed, even in online stores with a large number of products( over 100K).
- Dedicated interface for setting up, which allows you to make all the permalinks settings for your online store on one page.
- It has been tested for compatibility with the main WooCommerce plugins.
THE MAIN PLUGIN FEATURES
- The ability to generate a product URL in such a way that only its slug can be seen.
- The ability to generate a product URL in such a way that it consists of a product and the main category slugs.
- The ability to generate a product URL in such a way that it consists of a product slug and its categories hierarchy.
- The ability to generate a product category URL in such a way that only its slug can be seen.
- The ability to generate a product category URL in such a way that only its slug and categories hierarchy slugs can be seen.
- The ability to choose the main category to generate a product URL.
- Automatic adding of the ‘rel=canonical’ attribute to duplicate pages to improve SEO.
2- Perfect SEO Url Plugin
Unlimited product urls
- It is possible for a product to have multiple URLs and still have the same endpoint. This way you can add your product to multiple categories in WooCommerce.
No duplicate content
Duplicate content is one of the things you don’t want to have. The plugin will make sure your product always has one unique canonical URL. Even when it’s available at multiple destinations.
Google advises you to use clean URLs. This plugin removes the unnecessary slug “/product” and “/product-category”. Perfect SEO URL will improve your URL structure to a new level.
URL based breadcrumbs
The most loved function of the Perfect SEO Url plugin. Activating this function ensures that the breadcrumb will be identical to the URL where the product is being watched at the moment.
Redirect old URLs
Old product and category URLs will automatically be redirected to the new one. You will never lose your online authority and visitors will never see the 404 page in your WooCommerce webshop.
Plug and Play
After installation, the plugin will change your URLs immediately. No programming knowledge is required.
3- Remove “Category” From Your URLs In WordPress
To get rid of the category you set your permalinks to
/%category%/%postname%/ and then set the Category Base to period/dot.
If you leave the category base blank it will display the WordPress default category.
- Go to Setting > Permalinks
- Select Custom Structure
/%category%/%postname%/after your domain
- Change Category Base to period/dot.
4- Removing the word “Category” From Your URLs With .htaccess
To remove the category base manually in the .htaccess file just add this line of code.
RewriteRule ^category/(.+)$ http://www.site.com/$1 [R=301,L]
5- Remove Category URL Plugin
This plugin will completely remove the ‘/category/’ from your permalinks ( e.g.
No configuration is required
- Better and logical permalinks like
- Simple plugin – No configuration is required.
- No need to modify WordPress files.
- It doesn’t require other plugins to work.
- Compatible with sitemap plugins.
- Compatible with WPML.
- Works with multiple sub-categories.
- Works with WordPress Multisite.
- Redirects old category permalinks to the new ones (301 redirect, good for SEO).