Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How to handle dynamic product url that changes regularly
-
Hey Moz,
It's actually my first post - although I look at the Q&As on a daily basis!
I was hoping to get your opinions on how to handle dynamic product url that can change regularly.
Before we start, our product page urls get populated by the product titles.
So the situation is this.
- Let’s say we have a product url: /product/12345-abcde-fghj/
- Then the client decides to change the title a week later, so the url changes with it to): /listing/12345-klm-qjk
- Another week later, the agent changes to: /listing/12345-jkhfk-jhf-kjdhfkjdhf
So to note, the product ID will always remain the same.
Naturally, 301 redirecting every time would cause a bit of page authority to be lost every time 301ed. Also potentially creating new a few hundreds of 301 redirect daily sounds totally mental. (I have been informed by the dev we expect a few hundreds to change url daily) Although I understand there’s no limit on how many 301s you can have on a single domain, this would look completely unnatural - really not ideal.
So the potential solution we thought was:
we’ll keep the original url, and make sure that is the only url that will get indexed**/product/12345-abcde-fghj/**and put canonical tag on any of the new urls, directing to the original url. The problem we will have then is that the most current url may not exactly match the description of the product -wouldn’t be ideal for ux.
Has anyone had dealing with issues like this in the past? Would love to get your input!
Many Thanks
-
Thanks Everett! yes there's definitely seo benefit from having the title in the URL, and I think it's pretty significant - from what I have seen previously when we made a massive url changes for one of the websites I worked on - went from /{id}/ to {id}-{product-title}. Also there is a study shows that display url in search results is still a prominent element to influencing searchers' clicks. This is from 2012 but I think the same still applies today. http://research.microsoft.com/pubs/155941/domainbias.pdf so I'd prefer to have the titles included.
It is completely possible to make the very original static, and that would be my preferred option - but we need to assess whether the changes were made because they were "mildly" or "totally" incorrect in the first place, and also at the same time need to convince others - who feel keeping the original urls (when the product titles change) would worsen ux.
301 redirects would be totally mental - so this would not be an option. Also adding canonical tag to the "non-original" urls method - potentially ok in the short term.
I think using static (hardcoded) urls would be the only long-term solution.
-
Hi Patrick that's really helpful thanks,
Completely understand it's confusing, I was totally surprised myself to find out there were so many changes to the title on a daily basis.
I would personally have one static url (original url) so this page can carry on build authority. I'm going to find out what these changes that are being made may be.I mean if it's just the title changing and nothing else, the chances are that the original product title (& url) will still stay relevant - it may be that our clients are trying to optimise their title, or spelling error etc. - I'm not sure at this point but that will be my next job to find out!
I can't link to the site, as it is being worked for relaunch currently. Site relaunches are always terrifying
-
Hi there
This is very confusing haha. What I would suggest is, if the product itself stays the same while new items or features are added to it (the only reason I can think why URLs are changing - correct?), to create one static URL / page for the product and update the description as the product updates. I would also add Schema into the template of the product so that it dynamically pulls information from the description and let's crawlers know of the changes. You'll have to talk to your web development team to make sure this is possible.
This way, you have one static URL per product, with only descriptions / features changing. This will cut down on multiple URLs, redirects, canonicals, and overall, confusion. I would also take a look at this resource from inFlow; this is on duplicate content for eCommerce which it sounds like you might potentially run into.
Let me know if a. that I am on the right thought pattern here and b. that this helps. You may want to link to your site so that the community can get a more indepth look! Hope this helps - good luck!
Patrick
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Product Schema Markup for All Products
Hi Team, Google search console used to allow you to use their structured data markup helperhttps://www.google.com/webmasters/markup-helper/u/0/ to markup multiple product pages at once that were similar. I do not see this feature anymore with the new search console. Does anyone have a recommendation for marking up multiple product pages without having to have schema markup firing in GTM for each product page?
Technical SEO | | agrier0 -
Robots.txt Syntax for Dynamic URLs
I want to Disallow certain dynamic pages in robots.txt and am unsure of the proper syntax. The pages I want to disallow all include the string ?Page= Which is the proper syntax?
Technical SEO | | btreloar
Disallow: ?Page=
Disallow: ?Page=*
Disallow: ?Page=
Or something else?0 -
URL has caps, but canonical does not. Now what?
Hi, Just started working with a site that has the occasional url with a capital, but then the url in the canonical as lower case. Neither, when entered in a browser, resolves to the other. It's a Shopify site. What do you think I should do?
Technical SEO | | 945010 -
Vanity URLs are being indexed in Google
We are currently using vanity URLs to track offline marketing, the vanity URL is structured as www.clientdomain.com/publication, this URL then is 302 redirected to the actual URL on the website not a custom landing page. The resulting redirected URL looks like: www.clientdomain.com/xyzpage?utm_source=print&utm_medium=print&utm_campaign=printcampaign. We have started to notice that some of the vanity URLs are being indexed in Google search. To prevent this from happening should we be using a 301 redirect instead of a 302 and will the Google index ignore the utm parameters in the URL that is being 301 redirect to? If not, any suggestions on how to handle? Thanks,
Technical SEO | | seogirl221 -
Duplicate content on Product pages for different product variations.
I have multiple colors of the same product, but as a result I'm getting duplicate content warnings. I want to keep these all different products with their own pages, so that the color can be easily identified by browsing the category page. Any suggestions?
Technical SEO | | bobjohn10 -
Old URL redirect to New URL
Alright I did something dumb a year a go and I'm still paying for it. I changed my hyphenated URL to the non-hyphenated version when I redesigned my website. I say it was dumb because I lost most of my link juice even though I did 301 redirects (via the htaccess file) for almost all of the pages I could find in Google's index. Here's my problem. My new site took a huge hit in traffic (down 60%) when I made the change and even though I've done thousands of redirects my old site is still showing up in the SERPS and send much if not most of my traffic. I don't want to take the old site down in fear it will kill all of my traffic. What should I do? Is there a better method I should explore then 301 redirects? Could the other site be affecting my current rank since it's still there? (FYI...both sites are built on the WP platform). Any help or ideas are greatly appreciated. Thank you! Joe
Technical SEO | | kaje0 -
Is it worth setting up 301 redirects from old products to new products?
This year we are using a new supplier and they have provided us a product database of approx. 5k products. About 80% of these products were in our existing database but once we have installed the new database all the URLs will have changed. There is no quick way to match the old products with the new products so we would have to manually match all 5k products if we were were to setup 301 rules for the old products pointing to the new products. Of course this would take a lot of time. So the options are: 1. Is it worth putting in this effort to make the 301 rules? 2. Or are we okay just to delete the old product pages, let the SE see the 404 and just wait for it to index the new pages? 3. Or, as a compromise, should we 301 the old product page to the new category page as this is a lot quicker for us do do than redirecting to the new product page?
Technical SEO | | indigoclothing0 -
Products with discrete URLs for each color
here is the issue. i have an ecommerce site that on a category page, shows each individual color for each product sold. and there is a distinct URL for each color. each product page shares the same content, with the only potentially differentiating factor being customer reviews (not nearly enough of these to differentiate anything). so we have URLs like: www.domain.com/product-green www.domain.com/product-yellow www.domain.com/product-red and so on. i am looking for a way to consolidate these URL while still showing all colors on the category page. the first solution i am considering is using the hash tag. so we would create www.domain.com/product#green, www.domain.com/product#yellow, www.domain.com/product#red. if possible, i would set the canonical tag as www.domain.com/product. the second solution would be to use the canonical tag and keep the URLs as is. the issue i see here is that we would need to create www.domain.com/product and show that page somewhere. www.domain.com/product would the URL that the above color URLs would canonicalize to. what would be the preferred solution? or is there something else?
Technical SEO | | rakesh_patel0