Product Icon

Custom Permalinks for WooCommerce

Change permalinks structure in a way that works for you. Remove /product/ and /product-category/ or create your own custom path to products and categories.

Customize Your Store’s Permalinks

Custom Permalinks for WooCommerce helps you set up any URL you want for your store. For instance, use a custom choice like site.com/category-name/product-name path instead of an assigned URL.

Use Custom Permalinks for WooCommerce if you:

  • Migrated from another CMS to WooCommerce, and you want to keep the same URLs
  • Follow best SEO practices and understand shorter URLs may benefit your ranking
  • Want user-friendly and informative URLs for your products and categories

Featured URL options

/product-category/

Remove /product-category/ from store permalinks, so the category slug is right after the domain name.

/product/

Remove the /product/ part of permalinks. You can leave the product slug alone right after the domain name or create a custom permalink structure with product slug + category slug combination.

Manage product permalinks for each product separately

Besides setting up general products permalink patterns for the whole store, you can also choose a permalink structure for each product independently.

 

Replace /product-category/ with a category slug

Remove /product-category/ and replace it with a category slug for a product permalink. For instance, the URL may look like this:

site.com/laptops/mackbook-pro

Create an entire product path using the parent category (if the product places in the second-level category), for instance:

site.com/electronics/laptops/mackbook-pro

That may make your product URL easier to understand for crawlers.

Add or remove /shop/ base

You can choose to have or remove /shop/ base for both product and category permalinks to any custom URL you create.

Auto 301 redirects

If you are currently editing permalinks on existing products and categories, you may want to use 301 redirects. When you enable 301 redirects, when anyone goes to the old URL, they will redirect to the corresponding new URL. You won’t lose any clients.

Auto ‘rel = canonical’

The code informs search engines that a specified URL is the master copy of a page. Use this code, and you don’t need to worry about duplicate content issues that could affect your site’s performance.

Add any extension at the end of your URL

Some platforms and frameworks are still using old-fashioned URLs with .html, .htm, .php, .asp, or any other extensions at the end of URLs. You may want to replicate that type of URL and not lose any search volume or direct website visits. Custom Permalinks for WooCommerce allows you to specify any permalink extension. You are not limited to those listed above.

Choose a SKU to replace a regular product slug

If you don’t want to use the default way to generate a product slug, use a SKU instead of a product title. You can switch between these two methods.

Usage of Primary Category Set by Yoast SEO or The SEO Framework

Both the Yoast SEO and The SEO Framework plugins offer a feature that allows you to assign a primary category to a product if it belongs to several categories. These primary categories can then be used by the Custom Permalinks plugin to create the full path to the product.

Sitemap

Inform search engine crawlers of your new permalinks. All newly established URLs are placed automatically on the Yoast SEO XML Sitemap.

Create these URLs

You may wonder what URLs are possible to establish using the Custom Permalinks for WooCommerce extension? The following are some examples.

Product-based permalinks
yoursite.com/mackbook
yoursite.com/mackbook.html, yoursite.com/mackbook.htm, or yoursite.com/mackbook.php
yoursite.com/laptops/mackbook
yoursite.com/electronics/laptops/mackbook
yoursite.com/shop/laptops/mackbook
yoursite.com/electronics/laptops/481923-sku (SKU instead of regular slug)
yoursite.com/electronics/laptops/481923-sku.html

Category-based permalinks
yoursite.com/laptops
yoursite.com/laptops.html, yoursite.com/laptops.htm, or yoursite.com/laptops.php
yoursite.com/electronics/laptops
yoursite.com/shop/electronics/laptops
yoursite.com/electronics/laptops.html

Many other combinations are available to you in Custom Permalinks for WooCommerce plugin’s settings.


Customer reviews

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.