When creating slugs for an e-commerce website, it's important to consider various factors to ensure they are optimized for search engines and provide a user-friendly experience. Here are 15 things to consider including in the slugs for your e-commerce website:

Include the name of the product in the slug to make it descriptive and easily recognizable.

Product Name

If your e-commerce website uses a hierarchical category structure, include the relevant category in the slug to provide additional context.


If you sell products from different brands, consider including the brand name in the slug to enhance brand visibility and aid in brand-specific searches.


If you offer different variations of a product, such as size or color, include this information in the slug to differentiate between different versions of the same product.


Incorporate a unique identifier, such as a product ID or SKU, in the slug to assist in internal tracking and inventory management.

Product ID

Research relevant keywords and include them in the slug to improve search engine optimization and increase the chances of your product appearing in relevant search results.


If there are specific attributes associated with the product, such as material, style, or features, consider including them in the slug to provide additional details and improve search relevance.


In some cases, including the price range or a specific price in the slug can help attract users searching for products within a particular price range.


If your e-commerce website serves different regions or has physical stores in specific locations, including the location in the slug can help with localized search results.


Incorporate relevant seasonal or trending keywords in the slug to increase visibility during specific periods or capitalize on current market trends.

Seasonal or Trending Keywords

If you have ongoing promotions, discounts, or special offers for specific products, consider incorporating the promotion details in the slug to attract attention and encourage clicks.


If your website supports multiple languages, consider including language codes in the slug to direct users to the appropriate language version of the product page.


Use hyphens or underscores to separate words in the slug, making it easier to read and understand both for search engines and users.

SEO-friendly Formatting

Keep the slug concise and avoid unnecessary words or characters to maintain a clean and user-friendly URL structure.


Implement canonical URLs to specify the preferred version of a page if you have duplicate content or different URLs for the same product. This helps search engines understand the primary URL for indexing purposes.

Canonical URLs

Remember, when creating slugs, it's essential to strike a balance between search engine optimization and readability. Prioritize creating slugs that are descriptive, relevant, and easy to understand for both search engines and users.