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
-
Changing URLS: from a short well optimised URL to a longer one – What's the traffic risk
I'm working with a client who has a website that is relatively well optimised, thought it has a pretty flat structure and a lot of top level pages. They've invested in their content over the years and managed to rank well for key search terms. They're currently in the process of changing CMS and as a result of new folder structuring in the CMS the URLs for some pages look to have significantly changed. E.g Existing URL is: website.com/grampians-luxury-accommodation which ranked quite well for luxury accommodation grampians New URL when site is launched on new CMS would be website.com/destinations/victoria/grampians My feeling is that the client is going to lose out on a bit of traffic as a result of this. I'm looking for information or ways or case studies to demonstrate the degree of risk, and to help make a recommendation to mitigate risk.
Intermediate & Advanced SEO | | moge0 -
Magento Core_URL_Rewrite Problems
Hi Everyone, We are currently caught between a rock and a hard place with Magento and are wondering if anyone else had similar problems and could share their advice. Our Core_URL_Rewrite now containt 1.3 million records for an account that has 12000 products on 4 different store views. This has ballooned past the point that we are no longer able to reindex our URL Management. The option that is being suggested to us is to truncate the table and start over, though this will essentially kill our SEO for those pages.(Which as there are duplicates, I can only imagine how much they are going to be penalized by it) Would anyone have any advice other than truncating and starting over? Any advice would be greatly appreciated. Thanks!
Intermediate & Advanced SEO | | csworkwear1 -
URL Errors in webmaster tools to pages that don't exist?
Hello, for sometime now we have URLs showing up in Google webmaster saying these are 404 errors but don't exist on our website.......but also never have? Heres an example cosmetic-dentistry/28yearold-southport-dentist-wins-best-young-dentist-award/801530293 The root being this goo.gl/vi4N4F Really confused about this? We have recently made our website wordpress? Thanks Ade
Intermediate & Advanced SEO | | popcreativeltd0 -
Pagination and View All Pages Question. We currently don't have a canonical tag pointing to View all as I don't believe it's a good user experience so how best we deal with this.
Hello All, I have an eCommerce site and have implemented the use rel="prev" and rel="next" for Page Pagination. However, we also have a View All which shows all the products but we currently don't have a canonical tag pointing to this as I don't believe showing the user a page with shed loads of products on it is actually a good user experience so we havent done anything with this page. I have a sample url from one of our categories which may help - http://goo.gl/9LPDOZ This is obviously causing me duplication issues as well . Also , the main category pages has historically been the pages which ranks better as opposed to Page 2, Page 3 etc etc. I am wondering what I should do about the View All Page and has anyone else had this same issue and how did they deal with it. Do we just get rid of the View All even though Google says it prefers you to have it ? I also want to concentrate my link juice on the main category pages as opposed being diluted between all my paginated pages ? - Does anyone have any tips on how to best do this and have you seen any ranking improvement from this ? Any ideas greatly appreciated. thanks Peter
Intermediate & Advanced SEO | | PeteC120 -
Content From One Domain Mysteriously Indexing Under a Different Domain's URL
I've pulled out all the stops and so far this seems like a very technical issue with either Googlebot or our servers. I highly encourage and appreciate responses from those with knowledge of technical SEO/website problems. First some background info: Three websites, http://www.americanmuscle.com, m.americanmuscle.com and http://www.extremeterrain.com as well as all of their sub-domains could potentially be involved. AmericanMuscle sells Mustang parts, Extremeterrain is Jeep-only. Sometime recently, Google has been crawling our americanmuscle.com pages and serving them in the SERPs under an extremeterrain sub-domain, services.extremeterrain.com. You can see for yourself below. Total # of services.extremeterrain.com pages in Google's index: http://screencast.com/t/Dvqhk1TqBtoK When you click the cached version of there supposed pages, you see an americanmuscle page (some desktop, some mobile, none of which exist on extremeterrain.com😞 http://screencast.com/t/FkUgz8NGfFe All of these links give you a 404 when clicked... Many of these pages I've checked have cached multiple times while still being a 404 link--googlebot apparently has re-crawled many times so this is not a one-time fluke. The services. sub-domain serves both AM and XT and lives on the same server as our m.americanmuscle website, but answer to different ports. services.extremeterrain is never used to feed AM data, so why Google is associating the two is a mystery to me. the mobile americanmuscle website is set to only respond on a different port than services. and only responds to AM mobile sub-domains, not googlebot or any other user-agent. Any ideas? As one could imagine this is not an ideal scenario for either website.
Intermediate & Advanced SEO | | andrewv0 -
What's the best way to deal with deleted .php files showing as 404s in WMT?
Disclaimer: I am not a developer During a recent site migration I have seen a bit of an increase in WMT of 404 errors on pages ending .php. Click on the link in WMT and it just shows as File Not Found - no 404 page. There are about 20 in total showing in webmaster tools and I want to advise the IT department what to do. What is the best way to deal with this for on-page best practice? Thanks
Intermediate & Advanced SEO | | Blaze-Communication0 -
When Google's WMT shows thousands of links from a single domain... Should they be removed?
Hi, Looking at Google's WMT "links to your site" it shows few sites that have thousands of links pointing to mine. There are actually only 1-2 links pointing to me from a site that Google shows 2000.
Intermediate & Advanced SEO | | BeytzNet
I assume that it is simply because they don't have canonical tags. Should I ask for the 2 links to be removed? Thanks0 -
Rel canonical element for different URL's
Hello, We have a new client that has several sites with the exact same content. They do this for tracking purposes. We are facing political objections to combine and track differently. Basically, we have no choice but to deal with the situation given. We want to avoid duplicate content issues, and want to SEO only one of the sites. The other sites don't really matter for SEO (they have off-line campaigns pointing to them) we just want one of the sites to get all the credit for the content. My questions: 1. Can we use the rel canonical element on the irrelevent pages/URL's to point to the site we care about? I think I remember Matt Cutts saying this can't be done across URL's. Am I right or wrong? 2. If we can't, what options do I have (without making the client change their entire tracking strategy) to make the site we are SEO'ing the relevant content? Thanks a million! Todd
Intermediate & Advanced SEO | | GravitateOnline0