Premmerce Permalink Manager for WooCommerce: remove product-category, shop slag from URL
Woocommerce Permalinks Manager is developed to improve current WooCommerce url configuration features and provide better display and extra capabilities for your online store SEO, according to the WooCommerce SEO Audit we conducted recently.
The only plugin you need to manage your WooCommerce Permalink
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 URL in such a way that only its slug can be seen
Removing all the prefixes from URL, leaving just the category or product name
Automatic adding of the ‘rel=canonical’ attribute to duplicate pages
Automatic adding of 301 redirects to duplicated pages to improve SEO and site navigation
The ability to remove the base from the product tags URL.
The ability to choose the main category with Yoast SEO to generate a product URL
Optimized work speed, even in online stores with a large number of products( over 100K).
It has been tested for compatibility with the main WooCommerce plugins
It has been tested for compatibility with the main WooCommerce themes
The main plugin features:
- Removing /product-category base from URL
- Removing /product from URL
- Removing all the prefixes from URL, leaving just the category or product name
- 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 a 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 a main category to generate a product URL.
- Automatic adding of the ‘rel=canonical’ attribute to duplicate pages to improve SEO.
The additional premium features of the plugin:
- The ability to remove the base from the product tags URL.
- Automatic adding of 301 redirects to duplicated pages to improve SEO and site navigation.
- Breadcrumbs Support.
- Replace the product slug with an SKU.
- Adding a suffix to the product and category URL.
- Premium support.
You can buy the premium version of this plugin here: WooCommerce Permalink Manager Premium
WooCommerce Permalinks Manager Demo
You can see how it works on the Storefront theme here: https://storefront.premmerce.com .
You can see how it works on the SalesZone theme here: https://saleszone.premmerce.com .
Plus, you can create your personal demo store and test this plugin together with Premmerce Premium and all other Premmerce plugins and themes developed by our team here: Premmerce WooCommerce Demo.
This plugin is 100% compatible with:
- base WooCommerce functionality
- Yoast SEO
- WPML WooCommerce Multilingual
- all the Premmerce plugins
Installation
A free version of WooCommerce Permalink Manager can be downloaded and installed from the official WordPress plugin directory:
WooCommerce Permalink Manager (Premium) can be activated in three ways:
- You can buy it on Premmerce.com and after that download the Premium version of the plugin from the ‘My subscriptions’ tab of your Personal Account.
- You can buy and download the plugin Premium version archive in your site dashboard on the ‘Upgrade’ page.
- As WooCommerce Permalink Manager (Premium) is a part of the Premmerce (Premium) assembly, you can activate it on the ‘Addons’ tab.
After the archive has been downloaded, follow the steps below:
- Log in your site dashboard and go to the ‘Add New’ page.
- Click ‘Download plugins’.
- Choose the downloaded plugin archive.
- Click ‘Install’.
- Click ‘Activate’.
- Enter the license key (you can find it in your Personal Account) and click ‘Agree & Activate License’.
Note
If you upgrade the free version to the Premium version, all the settings of the WooCommerce Permalink Manager free version will be saved and ported to WooCommerce Permalink Manager (Premium).
The ‘WooCommerce Permalink Manager’ page in the dashboard
URL generation options for categories:
- Use WooCommerce settings – a category URL will be generated according to the settings on the ‘WooCommerce Permalink Settings’ page.
- Category slug – a category URL will be generated only from its slug: http://your.site.loc/category
- Full category path – a category URL will be generated from parent and child categories slugs: http://your.site.loc/parent-category/category
URL generation options for products:
- Use WooCommerce settings – a product URL will be generated according to the settings on the ‘WooCommerce Permalink Settings’ page.
- Product slug – a product URL will be generated only from a product slug: http://your.site.loc/sample-product
- Product slug with primary category – a product URL will be generated from a product slug and its direct parent category: http://your.site.loc/category/sample-product
- Full product path – a product URL will be generated from a product slug and its categories: http://your.site.loc/parent-category/category/sample-product
Additional settings:
- Use primary category – ‘Yoast SEO’ primary product category will be used to generate a product URL (for the correct operation of this option, you need to install and activate the Yoast SEO plugin).
- Add canonicals – it adds a canonical meta tag to random or duplicated pages.
Premium features:
- Remove product tag base – a product tag URL will be generated without ‘product-tag’ base.
- Create redirects – it automatically creates 301 redirects from random and duplicated URLs to new ones, which have been generated by using the plugin.
You can buy premium version of this plugin here: WooCommerce Permalink Manager Premium
Yoast SEO XML Sitemap
All changes that are made with the help of WooCommerce Permalink Manager are also saved in the Yaost SEO XML Sitemap.
Further Work and Development of the Plugin
We’ll be very grateful if we get your feedback and ideas on the plugin development as they all matter to us. So write to us at https://premmerce.com/contact-us/. As we continue developing our products, we’ll test the plugin for compatibility and add the new features to make it really great.
- Previous « #1 tactic on how to get tons of traffic for your eCommerce with little efforts by focusing on long-tail keywords
- Next Yoast WooCommerce SEO Addon »
I love how easy this is to use, however is it possible to make the plugin LEAVE “/shop/” in the URL and only remove “product-categories”? We are looking for a way to make /shop/category/product/ URLs without having “product-category” and this plugin seems to remove too much of the URL.
Thanks for your replay. With this plugin is possible to leave any slug, you need, just play with different settings.
I just tried to activate the plugin and I get the following error:
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /Applications/AMPPS/www/princess/wp-content/plugins/woo-permalink-manager/premmerce-url-manager.php on line 40
I’m running WP 4.8.3 with WooCommerce 3.2.3
Problem solved. I was running on old version of PHP on my local AMPPS server. Now activates fine
Hi, the plugin works perfectly but I have an issue with one of my languages.
In all languages (es,en,it,de) works fine but in pt only works with categories, the product page have the slug “produto” (pt/produto/someproduct).
Thanks.
Hi, we will test it and when we will find solutions, I reply you, Thanks for question.
Hi Ivan,
I installed your plugin to: Remove the /product-category/ base.
Here is what you get:
Before: http://wp.loc/product-category/accessories/action-figures/
After: http://wp.loc/accessories/action-figures/
However, when I click on the product category:
It now shows: http://wp.loc/#accessories
Is this normal? Why the hastag?
This happens to all the product categories upon clicking.
Hi John,
No, it’s not the way as plugin must works.
But we can’t reproduce this. Where exactly you see hastag? Can you show some examples?
Hello, thanks for this useful plugin. Just reporting a little bug that shows on multisite. When I network activate the plugin, the nag “The WooCommerce Permalink Manager plugin requires…” still remains. I solved this (looks fine on my end) modifying a bit the function validateRequiredPlugins() located in UrlManagerPlugin.php, line 126:
private function validateRequiredPlugins(){
/**
* Check if WooCommerce is active
**/
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
$plugins[] = 'WooCommerce';
if( is_plugin_active( 'woocommerce/woocommerce.php' ) or is_plugin_active_for_network( 'woocommerce/woocommerce.php') ) {
$plugins = [];
}
return $plugins;
}
– Tested succesfully on a multisite installation on localhost. I imagine that will work on single sites.
– The method “if(!in_array(‘woocommerce/…” is outdated. I replaced it with “is_plugin_active…” (please read the link below for more information).
– Also I changed the negative declarations (!) por positive ones (do not pay so much attention to this. Manias)
Link: https://wp-buddy.com/blog/check-wordpress-plugin-sitewide-active-network-active/
Hi Dario,
Thanks for your help!
In the next release, we will definitely add multisite validation.
Hi Ivan, this plugin is exactly what I have been searchin for, thanks! But I think, there is one issue which needs to be solved.
You can tesi it via https://httpstatus.io
For example when plugin is disabled and if I have http://www.domain.com/product/blue-shirt and if I test http://www.domain.com/product/SOMETHING/blue-shirt it will be redirected 301 to product page. It is OK.
But when I use your plugin, slug product will be removed, but when I test http://www.domain.com/SOMETHING/blue-shirt there is no redirection to product page which can result in duplicity bad for SEO.
Please advise which code needs to be changed.
Regards, Radim
Hi Radim,
Thanks for your feedback.
Unfortunately this plugin doesn’t work with 301 redirects, but it works with Yoast SEO plugin and if you use it, these pages will be configured like canonical.
Hi, i have installed the plugin..
This is my website, http://www.buybuy.sg
I have removed the base for product-category and it is working fine for all categories except for this one
http://www.buybuy.sg/product-category/bathtubs-singapore-portable/
I am not sure why for this just particular 1 category it is not working
Hi, Azmi
As we see, URL is formed correctly – http://www.buybuy.sg/bathtubs-singapore-portable/
But when I go to this page, I redirect (by 301 redirect) here – http://www.buybuy.sg/product-category/bathtubs-singapore-portable/
Our plugin can’t make a redirect, thats why we can assume that you are using some plugin for redirects, check it in your WP dashboard
Thank you so much, is the only tutorial on the internet who works well.
😀
Hi. Have you tested your plugin with WPML plugin?
Hey guys,
Permalink manager seems like great plugin. However I am concern about this warn from offical WooCommerce team https://docs.woocommerce.com/document/removing-product-product-category-or-shop-from-the-urls/.
Can you please elaborate on this before I make decision to purchase your plugin?
Stefan
Hi, Stefan,
WooCommerce left this warn because they can’t test this feature with all the plugins. We’ve tested it with the most popular plugins and of cause all the WooCommerce features, but if you use some unique plugin, it could be some compatibility problems.
You could try our trial version – install it on your store and if you wouldn’t see any compatibility problems then buy. Of cause, our support team is always ready to help you and answer all your questions.
Thank you!
After updating the plugin is not working anymore with WPML.
It works for the main language (https://www.inhomelab.it/carima/anti-friction-agents-and-lubricants/) but when i change the laguage the page goes on 404
(https://www.inhomelab.it/carima/it/scivolanti-e-lubrificanti/). If I deactivate the plugin the website works in every language.
Could you check and fix it?
Thanks
Hi.
It already was fixed.
Hello, Pre-purchase Question :
Is it working corretly with cache plugins like W3 Total cache or even WP Super Cache ?
Thanks in advance
Hi, we developed our Premmerce Permalink manager for correct working with WP Rocket, but our clients use and other caching plugins, WP Super Cache including.
Hey guys I recently bought this plugin and I wanted to know if there is a way I can delete some of the redirects this plugin created?
Hello!
There is an option to create or not create 301 redirects from all (!) duplicated pages.
Hi, thanks for the great plugin. Just a heads up for a problem I had. When a product has a number for slug (e.g. 4) and the plugin settings are set to Category slug and Product slug with primary category, then the category page with that number shows the product (e.g. category/page/4 which should be a category, shows category/4 which is a product).I am not in need for a solution but thought you might want to check it. I was able to reproduce on a fresh install.
Best regards,
Alex
Hi, there!
So, as you described, the product has the same slug (product permalink) with the category.
You need to set the unique product permalink, in this case.
No, they have different slugs. The number in category/page/4 is from paging
Hello. Is this compatible with a Multisite environment running Multilingual Press?
Hi!
Unfortunately, not yet.