Home / Blog / SEO / Premmerce WooCommerce Permalinks Manager: remove product-category, shop slag from URL

Premmerce WooCommerce Permalinks Manager: remove product-category, shop slag from URL

02 June 18
Reading Time: 6 minutes
18 Comments
1 Star2 Stars3 Stars4 Stars5 Stars (37 votes)

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 only plugin you need to manage your WooCommerce Permalink
Removing /product-category base from URL

The ability to generate a product category URL in such a way that only its slug can be seen

Removing /product from URL
Removing /product from URL

The ability to generate a product URL in such a way that only its slug can be seen

Removing all the prefixes from URL
Removing all the prefixes from URL

Removing all the prefixes from URL, leaving just the category or product name

Improve SEO
Improve SEO

Automatic adding of the ‘rel=canonical’ attribute to duplicate pages

301 redirects
301 redirects

Automatic adding of 301 redirects to duplicated pages to improve SEO and site navigation

Remove the base from the product tags
Remove the base from the product tags

The ability to remove the base from the product tags URL.

Choose the main category
Choose the main category

The ability to choose the main category with Yoast SEO to generate a product URL

Optimized work speed
Optimized work speed

Optimized work speed, even in online stores with a large number of products( over 100K).

Tested compatibility with main plugins
Tested compatibility with main plugins

It has been tested for compatibility with the main WooCommerce plugins

Tested compatibility with main themes
Tested compatibility with main themes

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.
  • Premium support.

You can buy 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:

  1. 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.
  2. You can buy and download the plugin Premium version archive in your site dashboard on the ‘Upgrade’ page.
  3. 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:

  1. Log in your site dashboard and go to the ‘Add New’ page.
  2. Click ‘Download plugins’.
  3. Choose the downloaded plugin archive.
  4. Click ‘Install’.
  5. Click ‘Activate’.
  6. 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.

Comments (18)
  • DRKMTTR Creative says:

    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.

    1. Ivan Pylypchuk says:

      Thanks for your replay. With this plugin is possible to leave any slug, you need, just play with different settings.

  • Steve Downs says:

    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

    1. Steve Downs says:

      Problem solved. I was running on old version of PHP on my local AMPPS server. Now activates fine

  • Miguel says:

    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.

    1. Ivan Pylypchuk says:

      Hi, we will test it and when we will find solutions, I reply you, Thanks for question.

  • John Digweed says:

    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.

    1. Andrew Kruk says:

      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?

  • Dario Ferrer says:

    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/

    1. Andriy Kruk says:

      Hi Dario,

      Thanks for your help!
      In the next release, we will definitely add multisite validation.

  • Radim says:

    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

    1. Andrew says:

      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.

  • Azmi says:

    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

    1. Andriy Kruk says:

      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

  • Lázaro Monteiro says:

    Thank you so much, is the only tutorial on the internet who works well.
    😀

  • Mike says:

    Hi. Have you tested your plugin with WPML plugin?

  • Stefan Smiljkovic says:

    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

    1. 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!

Leave a Reply

Your email address will not be published. Required fields are marked *

 

What clients say about Premmerce

Premmerce team are great at their job and we’ll continue to work with them. They are responsive and offer a great customer service! Our Project Manager has perfect communication and collaboration skills, and regularly comes up with some smart suggestions/options that move things forward.
Riley Pearcy
They deeply care about their customers — you can trust Premmerce. A highly talented team that doesn't quit until you're satisfied. Communication skills and problem solving are exactly what Premmerce's strength are. We are happy with the result they have delivered and will work again on the next phase. Thank you!
Lian Perry
The entire Premmerce team is truly amazing. They understand the business cases and are able to thoroughly translate those into technical deliverables. Their communication is superb and you will not need to go back and forth on trivial matters. Additionally, they are able to suggest very helpful alternative routes or solutions when necessary.
Rommie Mercer
Order service
Job Description and Contact Information:

attach files

Create Your Personal Premmerce Demo Store