Changing your URL Structure

Having descriptive URLs help with SEO and can improve your store's ranking in search engines. You can control how these appear in URL Structure settings. The default options are all primed to be SEO-friendly, but which one is best for your business depends on your industry.

URL structure settings can be accessed in Store SetupStore Settings, under the URL Structure tab.

Product Page

URL Structure Settings

The product URL setting determines the structure of the URL when viewing an individual product page.
Product URL Settings

  • SEO Optimized (Short) — makes all your product's url only use the products name:yourdomain.com/product-name
  • SEO Optimized (Long) — adds the word Products in addition to your product name: yourdomain.com/products/product-name
  • SEO Optimized (Category) — includes the first category the product is placed in and the product name: yourdomain.com/category/product-name
  • Custom — allows you to configure the product URL structure by using placeholders.

The category URL setting determines the structure of the URL when viewing an individual category page.
Category URL Settings

  • SEO Optimized (Short) — all category URLS only use the category name: yourdomain.com/category-name
  • SEO Optimized (Long) — the url includes the word categories in addition to the category name yourdomain.com/categories/category-name
  • Custom — allows you to configure the product URL structure by using placeholders.

The web page URL setting determines the structure of the URL when viewing an individual web content page.
Web

  • SEO Optimized (Short) — only the web page title in the url: yourdomain.com/page-name
  • SEO Optimized (Long) — includes pages in addition to your page title: yourdomain.com/pages/page-name
  • Custom — allows you to configure the product URL structure by using placeholders.

Changing the URL Structure

 Under URL Structure settings, you can apply changes to product, category, and web content page URLs. More details about each option can be found in Store Settings.

Product URL Settings

1. When you have decided which option best suits your business, select it from the list. If you select Custom, see our instructions below on Configuring custom URLs.

2. Click Save.

3. Click Update Product URLs.

Update Product URL button

4. Select which URLs you would like to update. You can choose to update only URLs you have not customized or all URLs, including those you have already customized. Check the box if you want to create 301 redirects for old URLs.

The Update Product URLs pop up dialogue.

5. Click Update URLs. Once the updates are complete, click Close, then check your storefront pages to confirm that the URL changes have taken effect.

Configuring Custom URL Structure

You can use Custom URL structures to include placeholders that are not included in the default URL structure options, such as product SKUs. 

 

Be careful! Incorrectly modifying your store’s URLs can have a drastic impact on your SEO. If you are at all unsure about whether or not you should use custom URL formats, we highly recommend leaving them set to SEO Optimized (Short).

1. Select Custom.

The Custom URL option toggle.

2. Enter the custom URL format, using a combination of the available placeholders separated by forward slashes /. The custom URL string should also begin with a forward slash /.

Example of a custom product URL.

Placeholder Types

Each page type has a list of placeholders that are available to use. You can arrange them in any order.

Product Pages:

  • %productname% — the name of the product
  • %category% — the first category this product appears in
  • %sku% — the product code/SKU
  • %upc% — the product UPC (Universal Product Code)
 

Can I show all the categories that contain the product? The Category placeholder will only show the first main category the product is listed in. To show the different categories on a product page, see our article on Product Page Breadcrumbs.

Category URLs:

  • %categoryname% — the name of the category
  • %parent% — the name of the parent category

Web pages:

  • %pagename% — the name of the page
  • %parent% — the name of the parent page

3. Click Save.

4. Click Update Product URLs and follow the prompts.

Additional Resources

Was this article helpful?