Variation swatches SEO indexable url slugs, structured data

This topic has 4 replies, 2 voices, and was last updated 2 months, 2 weeks ago ago by Rose Tyler

  • Avatar: Eyagos
    March 8, 2024 at 15:21

    Hello. Can variations have their own url slugs?

    For example i am on product archive, there is three colors : green (default) , white, red. On archive i check red, then go product page and I see default green color, not the red I selected.

    Another scenario : on product page I select white and want to share the link to friend, when I send him he goes to default green, not the white variation I wanted to show.

    MOST IMPORTANT : Google needs to index all these variations, it doesn’t understand otherwise, and it’s closely related to structured data as swatch happens without page reload, so all products SEO is doomed.

    How Google understands URLs for product variants
    A common consideration on ecommerce sites is how to structure URLs when a product is available in multiple sizes or colors. Each combination of product attributes is referred to as a product variant. To help Google understand your product variants, make sure that each variant can be identified by a separate URL. We recommend the following URL structures for variant URLs:

    A path segment, such as /t-shirt/green
    A query parameter, such as /t-shirt?color=green

    UPDATE: search shows variations with query parameters ( when search has variation search on) though going from product archive no slug, switching on product page – no change too.
    I searched for green color, it listed same product three times just with different sizes s,m,l , on search it does not show that.

    Any guidance would be highly appreciated!

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 8, 2024 at 16:06

    Hello, Eyagos,

    Thank you for reaching out to us with your inquiry regarding URL slugs for product variations.

    We understand the importance of having distinct URLs for each product variation to enhance user experience and to ensure that search engines like Google can index each variant accurately. This is indeed crucial for SEO and for sharing specific product variations with others.

    Currently, our theme supports dynamic variations that update on the product page without a page reload , which means the URL does not change by default when a new variation is selected. However, we recognize the scenarios you’ve described and the need for a solution that aligns with Google’s guidelines for product variant URLs.

    To address this, we suggest considering the implementation of URL query parameters or path segments for each variation. This would involve custom development to ensure that selecting a variation updates the URL accordingly and that these URLs are properly indexed by search engines.

    We recommend consulting with a developer who can assist in customizing the theme to include this functionality. They can help create a system where each variation has its own URL that can be indexed by search engines and easily shared.

    Regarding the search results showing variations with query parameters, this is a step in the right direction. However, it seems there is more work to be done to ensure consistency across all areas of the site, including the product archive.

    We appreciate your detailed feedback and the links to Google’s documentation. We will take your suggestions into consideration for future updates to our theme. In the meantime, if you require immediate assistance with custom development, we recommend reaching out to a professional developer or our customization team via the appropriate button on your account page.

    Also, we invite you to submit your requests to our team through the following page: If it receives enough votes from other customers, our development team will consider adding it in one of the upcoming updates.

    Thank you for your cooperation and understanding.

    Best Regards,
    8Theme’s Team

    Avatar: Eyagos
    March 8, 2024 at 17:00

    The video you linked in the comment, is my attempt to show these url slugs according to variation. Custom js script in child theme files. Unfortunately when you paste that link into new tab it goes to default variation color so needs more tuning..
    it does not generate slug parameter according to variation.

    Okay, thank you. I will post to taskboard I hope it gets attention

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 8, 2024 at 17:10

    Hello, Eyagos,

    Thank you for bringing the matter to our attention. You are correct; variations are not appended to the URLs on our demo pages, such as, as we have received feedback from other clients indicating that they are superfluous.

    Currently, there is no immediate solution available. However, we have noted your requests on our task board at, where they will be reviewed by our technical team. Other users will also have the opportunity to vote on these requests. Please be aware that this process can be lengthy.

    If you require a more expedited solution, it would necessitate collaboration with our customization team. Upon your request, they can provide an estimate of the cost and timeframe for completing a custom task specifically for your website. Their email address is in the Private Content area.

    We appreciate your understanding and are here to assist you further if needed.

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.