Problem: Magento prioritises product URL's without categories?
-
HI there, we are moving a website from Shoptrader to Magento, which has 45.000 indexations.
yes shoptrader made a bit of a mess. Trying to clean it up now.- there is a 301 redirect list of all old URL's pointing to the new
- one product can exist in multiple categories
- want to solve this with canonical url’s for instance:
- shoptrader.nl/categorieA/product has 301 redirect towards magento.nl/nl/categorieA/product
- shoptrader.nl/categorieA/product-5531 has 301 redirect towards magento.nl/nl/categorieA/product
- shoptrader.nl/categorieA/product¤cy=GBP has 301 redirect towards magento.nl/nl/categorieA/product
- shoptrader.nl/categorieB/product has 301 redirect towards magento.nl/nl/categorieB/product, has canonical tag towards magento.nl/nl/categorieA/product
- shoptrader.nl/categorieB/product?language=nl has 301 redirect towards magento.nl/nl/categorieB/product, has canonical tag towards magento.nl/nl/categorieA/product
Her comes the problem:
New developer insists on using /productname as canonical instead of /category/category/productname, since Magento says so.The idea is now to redirect to /category/category/productname and there will be a canonical URL on these pages pointing to /productname, loosing some link juice twice. So in the end indexation will take place on /productname … if Google picks it up the 301 + canonical. Would be more adviseable to direct straight to /productname (http://moz.com/community/q/is-link-juice-passed-through-a-301-and-a-canonical-tag), but I prefer to point to one URL with categories attached. Which has more advantages(?):
- clear menustructure
- able to use subfolders in mobile searchresults
- missing breadcrumb
What would you say?
-
Not to muddy up the conversation too much, but I wouldn't try to keep the category paths in product URLs as the canonical. What happens when you have one product in multiple categories? I would make .com/products/product-name as the canonical URL in the rel canonical tag. What you choose to show in the URL bar for the purpose of user experience and breadcrumb consistency is a different story. I hope I am understanding your situation correctly.
-
Sure no problem. That is what I would do ín that case. The best theoretical thing is to redirect all URLs to the best matching page and use /category/subcategory/page and make sure that DC is not an issue. However, with Magento, I have seen many issues with redirects going bad, and my strategy is now more time focused
-
Hi,
The magento extension mentioned in the stackoverflow link above might do what you need. If you have thousands of products it can get time consuming planning and setting it all up and then keeping an eye on them all to make sure the canonicals are working as expected - thats what I meant by might not be worth the effort. If you are ready to put in the initial work then no reason not to give that extension a try and see if it does what you need (I don't think that extension was around the last time I set up a magento shop!).
-
To your opinion, could this be a solution to keep the categories in URL's ... as canonicals?
http://stackoverflow.com/questions/14476579/seo-category-and-product-path-url-magentowhat do you mean, might not be worth the effort? will it take something like one work week to accomplish this?
-
HI Lynn, thx for your time and effort to reply and share your professional knowledge as well.
and especially thx for the extra bit of knowledge ... did not know you could really influence that "If you have some super products with loads of external links to a /category/product page then that page might well appear in the serps anyway regardless of the canonical" ... knowing that canonical is a suggestion
-
Thx René! so glad with your professional point of view! Glad to know we are working in the correct direction. pfoeh.
-
HI,
If the 301s are mainly to redirect the old site to the new then I would redirect to/category/category/productname.
Since individual product pages rarely pick up a lot of external links (your case might be an exception) then you are not really losing any 'link juice' anyway. If you have some super products with loads of external links to a /category/product page then that page might well appear in the serps anyway regardless of the canonical (canonical is a suggestion not a hard rule).
There are ways to fiddle with the magento setup to allow for more customization of the canonical url for any given product and/or to 'create' breadcrumbs for /product pages but it will need a fair amount of custom coding and might not be worth the effort.
If it all gets to be too much - I would go with the /category/category/product 301s and then canonical to /product and be done with it. My two cents!
-
Most often the problem with Magento is DC and the recommendation is to use /category/subcategory/ for breadcrumbs and normal navigation and then use /product for the actual product page.
I agree that common UX dictates that it should more like, /category/subcategory/product, but Magento (and other e-commerce CMS) have issues with making more than one URL for a product.
I would stick to /product and make the necessary 301 redirects.
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 URL Optimisation
Hi guys, We are currently trying to add new products to our site but we are in a quandary on what type of URL structure to pursue. For example:
Intermediate & Advanced SEO | | michel_8
Product Name: Aspect Exfoliating Cleanser 240ml https://www.example.com.au/aspect-exfoliating-cleanser-240ml (including the size)
VS
https://www.example.com.au/aspect-exfoliating-cleanser 1.) Which is a better URL structure based on SEO 2018 and why?
2.) Is there any merit in removing the size from the URL key with the aim of attracting more traffic? Keen to hear from you guys! Cheers,0 -
Approach for discontinued categories and products
My web site previously offered several categories of an indoor type of product, which have since been permanently discontinued. We do still offer a full line of the outdoor type of these products. The usage is quite different (indoor vs. outdoor), and customers looking for the indoor variety are not likely to be immediately interested in the outdoor ones. But the pages for the discontinued categories and products have built up significant page authority and rank quite well even for more generic searches which are not indoor or outdoor specific. I am interested in opinions on what approach to take for the discontinued category pages and product pages. Currently, the discontinued pages are accessible by direct link, but have been removed from the site's navigation menus and on-site search. The pages include some messaging for visitors to inform that we no longer offer this type of product, with some links to active categories. We can remove these pages and serve a 404 error page. Or, we can redirect these pages to the outdoor product category (but all would have to be redirected to a single category, as the specific outdoor categories and products don't map logically to specific indoor ones). Or, we can keep as-is. I am interested in opinions on approach, either between these options above, or other alternatives.
Intermediate & Advanced SEO | | drewk0 -
What's the best way to A/B test new version of your website having different URL structure?
Hi Mozzers, Hope you're doing good. Well, we have a website, up and running for a decent tenure with millions of pages indexed in search engines. We're planning to go live with a new version of it i.e a new experience for our users, some changes in site architecture which includes change in URL structure for existing URLs and introduction of some new URLs as well. Now, my question is, what's the best way to do a A/B test with the new version? We can't launch it for a part of users (say, we'll make it live for 50% of the users, an remaining 50% of the users will see old/existing site only) because the URL structure is changed now and bots will get confused if they start landing on different versions. Will this work if I reduce crawl rate to ZERO during this A/B tenure? How will this impact us from SEO perspective? How will those old to new 301 URL redirects will affect our users? Have you ever faced/handled this kind of scenario? If yes, please share how you handled this along with the impact. If this is something new to you, would love to know your recommendations before taking the final call on this. Note: We're taking care of all existing URLs, properly 301 redirecting them to their newer versions but there are some new URLs which are supported only on newer version (architectural changes I mentioned above), and these URLs aren't backward compatible, can't redirect them to a valid URL on old version.
Intermediate & Advanced SEO | | _nitman0 -
Will these 301's get me penalized?
Hey everyone, We're redesigning parts of our site and I have a tricky question that I was hoping to get some sound advice about. We have a blog (magazine) with subcategory pages that are quite thin. We are going to restructure the blog (magazine) and feature different concert and have new subcategories. So we are trying to decide where to redirect the existing subcategory pages, e.g. Entertainment, Music, Sports, etc. www.charged.fm/magazine Our new ticket category pages ( Concert Tickets, NY Yankees Tickets, OKC Thunder Tickets, etc) are going to feature a tab called 'Latest News' where we are thinking of 301 redirecting the old magazine subcategory pages. So Sports News from the blog would 301 to Sports Tickets (# Latest News tab). See screenshot below for example. So my question is: Will this look bad in the eyes of the GOOG? Are these closely related enough to redirect? Are there any blatant pitfalls that I'm not seeing? It seems like a win/win because we are making a rich Performer page with News, Bio, Tickets and Schedule and getting to reallocate the link juice that was being wasted in an pretty much useless page that was allowed to become to powerful. Gotta keep those pages in check! Thoughts appreciated. Luke Cn6HPpH.jpg
Intermediate & Advanced SEO | | keL.A.xT.o0 -
Are clean mobile URL's necessary?
Adding code to redirect/clean up ugly URL's slows down mobile site performance, so it is necessary if we are already using rel=alternate tags on our desktop/www pages?
Intermediate & Advanced SEO | | recbrands0 -
Preserving URL Structure from Os Commerce to Magento
I have a website that is built on OS Commerce and I am planning to transition to Magento. I was told that the transition to Magento would change my url structure. How do I preserve my current url structure while migrating to the Magento platform so that I do not lose my backlink profile.
Intermediate & Advanced SEO | | WebServiceConsulting.com0 -
Tool that can retrieve mysite URL's
Hi, Tool that can retrieve mysite URL's I am not talking about href,open explorer, Majestic etc I have a list of 1000 site URL's where my site name is mentioned. I want to get the exact URL of my site next to the URL i want to query with Example http://moz.com/community is the URL i have and if this page has mysite name then i need to get the complete URL captured. Any software or tool that can do this? I used one for sure which got me this info but now i don't remember it Thanks
Intermediate & Advanced SEO | | mtthompsons0 -
Is it possible for a multi doctor practice to have the practice's picture displayed in Google's SERP?
Google now includes pictures of authors in the results of the pages. Therefore, a single practice doctor can include her picture into Google's SERP (http://markup.io/v/dqpyajgz7jkd). How can a multi doctor practice display the practice's picture as opposed to a single doctor? A search for Plastic Surgery Chicago displayed this (query: plastic surgery Chicago) http://markup.io/v/bx3f28ynh4w5. I found one example of a search result showing a picture of both doctors for a multi doctor practice (query: houston texas plastic surgeon). http://markup.io/v/t20gfazxfa6h
Intermediate & Advanced SEO | | CakeWebsites0