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
-
One of my Friend's website Domain Authority is Reducing? What could be the reason?
Hello Guys, One of my friend's website domain authority is decreasing since they have moved their domain from HTTP to https.
Intermediate & Advanced SEO | | Max_
There is another problem that his blog is on subfolder with HTTP.
So, can you guys please tell me how to fix this issue and also it's losing some of the rankings like 2-5 positions down. Here is website URL: myfitfuel.in/
here is the blog URL: myfitfuel.in/mffblog/0 -
I currently have a canonical tag pointing to a different url for single page categories on eCommerce site. Is this wrong ?
Hi Mozzers, I have a query regarding canonical tags on my eCommerce site.. Basically on my category pages whereby I have more than 1 page, I currently use next/prev rel and also have a canonical tag pointing to the View all version of that page. This is believe is correct.(see example - http://goo.gl/2gz6LV However, from looking at the view source on my other pages, I have noticed I have canonical tags on all my category pages which are only a single page and these canonicaltag are pointing to a different url. I enclose an example . Please advise Category page - http://goo.gl/Pk4zYl This is where the canonical tag points to - http://goo.gl/EwKv26 Another example Category Page - http://goo.gl/4gWTdD This is where the canonical tag for that page points to http://goo.gl/qm4HV7 Should I either make sure that categories that are only 1 page , don't have a canonical tag at all ? or do I have a canonical tag on say every page on my website for safety pointing to the main url for that page. The later, I imagine would be a belt and braces approach but I don't want to screw up anything if it's not advised? Please help/ Kind regards Pete
Intermediate & Advanced SEO | | PeteC120 -
Why is /home used in this company's home URL?
Just working with a company that has chosen a home URL with /home latched on - very strange indeed - has anybody else comes across this kind of homepage URL "decision" in the past? I can't see why on earth anybody would do this! Perhaps simply a logic-defying decision?
Intermediate & Advanced SEO | | McTaggart0 -
My company wants to set up some blogs - what's best practice in getting started from scratch?
My company wants to set up two or three blogs (on previously unused domains) with the idea being to disseminate good content that gets picked up in SERPs and acts as a lead generator, shows us to be authorities in our market, creates brand (or individual employee who's doing the blogging) awareness etc... From scratch, what are all the boxes that should be ticked to make this work from the outset? What are the must haves?With all the ideals in place, how long could it realistically take to make this work? What are some pitfalls to look out for? Any advice in general will be appreciated. Thanks, M
Intermediate & Advanced SEO | | Martin_S0 -
Product or Shop in URL
What do you think is better for seo and for sale, I am using woo-ecommerce for health products website. websitename.com/product/keyword OR websitename.com/shop/keyword
Intermediate & Advanced SEO | | MasonBaker0 -
Why my site it's not being indexed?
Hello.... I got to tell that I feel like a newbie (I am, but know I feel like it)... We were working with a client until january this year, they kept going on their own until september that they contacted us again... Someone on the team that handled things while we were gone, updated it´s robots.txt file to Disallow everything... for maybe 3 weeks before we were back in.... Additionally they were working on a different subdomain, the new version of the site and of course the didn't block the robots on that one. So now the whole site it's been duplicated, even it´s content, the exact same pages exist on the suddomain that was public the same time the other one was blocked. We came in changes the robots.txt file on both server, resend all the sitemaps, sent our URL on google+... everything the book says... but the site it´s not getting indexed. It's been 5 weeks now and no response what so ever. We were highly positioned on several important keywords and now it's gone. I now you guys can help, any advice will be highly appreciated. thanks Dan
Intermediate & Advanced SEO | | daniel.alvarez0 -
How long does it take before URL's are removed from Google?
Hello, I recently changed our websites url structures removing the .html at the end. I had about 55 301's setup from the old url to the new. Within a day all the new URL's were listed in Google, but the old .html ones still have not been removed a week later. Is there something I am missing? Or will it just take time for them to get de-indexed? As well, so far the Page Authority hasn't transfered from the old pages to the new, is this typical? Thanks!
Intermediate & Advanced SEO | | SeanConroy0 -
I want your opinions on the lack of increase in Pintrest's PR
Many months ago, a fellow marketer at my company introduced me to Pintrest, claiming that it would be good for our business. Pintrest was very much unknown by many just a few short months ago. Since then, I have seen it take off like wildfire, with excessive media coverage, registrations, and people putting the button on their sites. It must have thousands more backlinks now than it did six months ago--high quality ones too, as it's had coverage in virtually every major new media outlet. I want your opinion as to why it has remained a PR6 site this entire time. It was a PR6 site then and it still is now. I know the increase in PR is algorithmic, but come on! Can people share their experiences they've had link building for those higher PR sites? How much harder does it get?
Intermediate & Advanced SEO | | UnderRugSwept1