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
Remove /product-category/ from store permalinks, so the category slug is right after the domain name.
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:
Create an entire product path using the parent category (if the product places in the second-level category), for instance:
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.
Select categories to generate product permalinks
This feature works together with the Yoast SEO plugin. You can select which category to use for the product’s permalink creation, use the default category, or the category from the Yoast plugin.
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.
yoursite.com/mackbook.html, yoursite.com/mackbook.htm, or yoursite.com/mackbook.php
yoursite.com/electronics/laptops/481923-sku (SKU instead of regular slug)
yoursite.com/laptops.html, yoursite.com/laptops.htm, or yoursite.com/laptops.php
Many other combinations are available to you in Custom Permalinks for WooCommerce plugin’s settings.
The most customizable ecommerce platform for building your online business.