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
-
Over-optimizing Internal Linking: Is this real and, if so, what's the happy medium?
I have heard a lot about having a solid internal linking structure so that Google can easily discover pages and understand your page hierarchies and correlations and equity can be passed. Often, it's mentioned that it's good to have optimized anchor text, but not too optimized. You hear a lot of warnings about how over-optimization can be perceived as spammy: https://neilpatel.com/blog/avoid-over-optimizing/ But you also see posts and news like this saying that the internal link over-optimization warnings are unfounded or outdated:
Intermediate & Advanced SEO | | SearchStan
https://www.seroundtable.com/google-no-internal-linking-overoptimization-penalty-27092.html So what's the tea? Is internal linking overoptimization a myth? If it's true, what's the tipping point? Does it have to be super invasive and keyword stuffy to negatively impact rankings? Or does simple light optimization of internal links on every page trigger this?1 -
Need Magento SEO expert for 301 clean up - any reco's?
My site is a total mess from a clean “crawling” perspective. We are still getting traffic and doing business, but I am afraid from an SEO perspective we are driving with the parking brake on. There a lot of 301’s and some of them are causing 404 errors. Below is an overview of my 5 year old magento site which was moved from a 5 year old xcart site (so there is a lot of old junk (url’s) in there). It needs cleaning up and I need a plan and seo / 301 help. Overview: Recently moved from http to https - not sure best practices were followed, but we had lots of crawl issues before this move. Analytics Top 100 Landing Pages = 82.7% of entrances Webmaster Tools 594 Pages Indexed 65 Not found errors - most involve 301’s - examples below Sitemap: 773 Submitted, 395 Indexed URL Parameters - 41 - I can’t tell if they are doing anything (helping or hurting) Moz Crawl Total Pages 3,454 324 Redirect Issues (258 Temp and 66 Chain) Magento 11,773 Redirects 5390 System 6383 Custom On July 15, 2017 I deleted 40 redirects from htaccess that a developer had put there that were causing problems. Blog We have a wordpress blog installed on Magento site. Years ago it was moved from a subdomain to a subdirectory.
Intermediate & Advanced SEO | | SammyT0 -
Should you allow an auto dealer's inventory to be indexed?
Due to the way most auto dealership website populate inventory pages, should you allow inventory to be indexed at all? The main benefit us more content. The problem is it creates duplicate, or near duplicate content. It also creates a ton of crawl errors since the turnover is so short and fast. I would love some help on this. Thanks!
Intermediate & Advanced SEO | | Gauge1230 -
How do I test images in WP migration without Changing URLs?
I'm redesigning example.com on a subdomain of my own site, so at example.mysite.com. As part of the redesign, I am optimizing the site's images. I used Wordpress Importer to get the content to the development site, but I did not import the images. Instead, I added the images to the development site by copying and moving over the contents of example.com's uploads folder. The posts at example.mysite.com are showing the images, but they are pulling them from the original location. I tried adding the following code to wp-config.php under the (misunderstood?) impression that the image URLs would use the development site's domain: 1 define('WP_HOME', 'http://example.mysite.com');
Intermediate & Advanced SEO | | kimmiedawn
2 define('WP_SITEURL', 'http://example.mysite.com'); I am not seeing any change and the images are still pulling from the original site. How can I test the images on the current site without actually changing the URLs in the database. (If I understand correctly, I could search and replace, but that is not what I am trying to achieve.) The original domain is not changing with the redesign, so there is no need to actually change the URLs. I just need to test the images, as I will be removing those that are not being used as well as optimizing the remaining images before moving the redesigned site over to the original domain.0 -
Redirect issue launching duplicate product categories on another TLD
Dear Mozzerz We run this e-commerce website (superstar.dk) where we are selling all different kinds of wristwatches from different brand names (Casio, Garmin, Suunto etc). We just bought another website selling watches (xxx.com) and therefore we would like to move some of the content from superstar.dk to the new website xxx.com, making superstar.dk into a more niche website. So we are basically taking a brand with all the products in it and shutting it down on superstar.dk and instead launching it on xxx.com. Superstar.dk will still be running, just with a more niche product- and brand selection. So my question is, should we redirect all the old product categories that we are shutting down to the new website on another TLD where we are opening them again and the same for the products (e.g. superstar.dk/garmin -> xxx.com/garmin)? Or would it be better to keep the redirects within the same website/TLD (e.g. superstar.dk/garmin -> superstar.dk)? A few examples:
Intermediate & Advanced SEO | | superstardenmark
superstar.dk/garmin -> xxx.com/garmin
superstar.dk/suunto -> xxx.com/suunto
etc..
superstar.dk/product1 -> xxx.com/product1
superstar.dk/product2 -> xxx.com/product2
etc.0 -
How do I prevent 404's from hurting my site?
I manage a real estate broker's site on which the individual MLS listing pages continually create 404 pages as properties are sold. So, on a site with 2200 pages indexed, roughly half are 404s at any given time. What can I do to mitigate any potential harm from this?
Intermediate & Advanced SEO | | kimmiedawn0 -
Should I disallow via robots.txt for my sub folder country TLD's?
Hello, My website is in default English and Spanish as a sub folder TLD. Because of my Joomla platform, Google is listing hundreds of soft 404 links of French, Chinese, German etc. sub TLD's. Again, i never created these country sub folder url's, but Google is crawling them. Is it best to just "Disallow" these sub folder TLD's like the example below, then "mark as fixed" in my crawl errors section in Google Webmaster tools?: User-agent: * Disallow: /de/ Disallow: /fr/ Disallow: /cn/ Thank you, Shawn
Intermediate & Advanced SEO | | Shawn1240 -
Working to Start an Shopping Idea Site - Which Totally Based On Scraping product from Ecom. How Quickly I should Add products and categories in this new domain.
How Quickly I should Add products and categories in this new domain. We are going to start its promotional by google adwords and facebook. I worrying about 10000's of product pages. kindly guide me.
Intermediate & Advanced SEO | | innovatebizz0