Magento: URLs for Products in Multiple Categories
-
I am working in Magento to build out a large e-commerce site with several thousand products. It's a great platform, but I have run into the issue of what it does to URLs when you put a product into multiple categories.
Basically, "a book" in two categories would make two URLs for one product: 1) /books/a-book 2) author-name/a-book
So, I need to come up with a solution for this. It seems I have two options:
- Found this from a Magento SEO article: 'Magento gives you the ability to add the name of categories to path for product URL's. Because Magento doesn't support this functionality very well - it creates duplicate content issues - it is a very good idea to disable this. To do this, go to System => Configuration => Catalog => Search Engine Optimization and set "Use categories path for product URL's to "no".'
This would solve the issues and be a quick fix, but I think it's a double edged sword, because then we lose the SEO value of our well named categories being in the URL.
- Use Canonical tags.
To be fair, I'm not even sure this is possible. Even though it is creating different URLs and, thus, poses a risk of "duplicate content" being crawled, there really is only one page on the admin side. So, I can't go to all of the "duplicate" pages and put a canonical tag, because those duplicate pages don't really exist on the back-end. Does that make sense?
After typing this out, it seems like the best thing to do probably will be to just turn off categories in the URL from the admin side. However, I'd still love any input from the community on this.
Thanks!
-
Someone else asked a similar question earlier today.
Canonicals are the key if you want to keep the category structure in your product URLs. Surely you'd want the book title and author name in the product name / URL and wouldn't need it from the category URL though?
Either way, we use this extension on our Magento shop which lets us control the Canonical URLs properly as well as generating some good google friendly sitemaps.
http://www.mageworx.com/seo-suite...
Hope this helps,
James
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
-
Should you shorten very long URLs?
Hi Moz Community! If the nav architecture URL is long, like this: https://www.savewildlife.org/wildlife-conservtion/endangered-species-act-protections/endangered-species-list/birds/mexican-spotted-owl can I and should I shorten that new destination URL to make it easy for Google to see that the page topic is really the owl, like this: https://savewildlife.org/endangered-species-list/mexican-spotted-owl Thank you! Jane
Intermediate & Advanced SEO | | CalamityJane771 -
How To Shorten Long URLS
Hi I want to shorten some URLs, if possible, that Moz is reporting as too long. They are all the same page but different categories - the page advertises jobs but the client requires various links to types of jobs on the menu. So the menu will have: Job type 1
Intermediate & Advanced SEO | | Ann64
Job type 2
Job Type 3 I'm getting the links by going to the page, clicking a dropdown to filter the Job type, then copying the resulting URL from the address bar. Bu these are really long & cumbersome. I presume if I used a URL shortener, this would count as redirects and alsonot be good for SEO. Any thoughts? Thanks
Ann0 -
Category Pages
I'm debating on what the best category structure is for a recipe website and was looking to get some advice. It's a recipe/travel/health fitness blog but recipes reign on the site. Should it be: Option A website name\recipe\type of recipe\URL of specific recipe or Option B website name\type of recipe\url of specific recipe (and just cut out the 'recipe' category name) Any advise would be appreciated! Thanks!
Intermediate & Advanced SEO | | Rich-DC0 -
Domain.com/old-url to domain.com/new-url
HI, I have to change old url`s to new one, for the same domain and all landing pages will be the same: domain.com/old-url I have to change to: domain.com/new-url All together more than 70.000 url. What is best way to do that? should I use 301st redirect? is it possible to do in code or how? what could you please suggest? Thank you, Edgars
Intermediate & Advanced SEO | | Edzjus3330 -
Product Category Subcategory hierarchy
Hi all, I am developing an ecommerce store and would like some advice on the Category / Product URL structure for SEO purposes. Products have many options Products belong to a sub-category. Sub categories belong to a category There will be a maximum of 500 products in the database. 1. http://shop.com/{category}/{product_slug}?{product_option} Flattened with query string option http://shop.com/apple/iphone-5s?model=32gb&colour=white 2. http://shop.com/{category}/{subcategory}/{product_slug}?{product_option} // Hierarchical with query string option 3. http://shop.com/{category}/{product_slug}/{product_option} 4. http://shop.com/{category}/{subcategory}/{product_slug}/{product_option} 5. http://shop.com/{category}/{product-slug} http://shop.com/apple/iphone-5s-32gb-black Option 5 seems best to me, however I am also worried about duplicate content between pages. http://shop.com/apple/iphone-5s-32gb-black http://shop.com/apple/iphone-5s-64gb-black http://shop.com/apple/iphone-5s-64gb-white The above 3 examples will all have very similar content. And if I use canonical url tag, which product page would I refer these pages to? At least with Option 1 I can use the canonical tag to tell search engines that pages with get parameters can point to the non get parameter version. In addition to Option 5, should I create a http://shop.com/{category}/{subcategory} page? That way Option 5 item canonical tags can point to that page. e.g. http://shop.com/apple/iphone-5s which would contain product summary detail with product options listed on the page? Am I missing something here or can anybody provide a better solution?
Intermediate & Advanced SEO | | MangoMM0 -
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 -
URL for New Product
Hi, We are creating a section on our established existing website to display our new marketplace product & associated category pages. This marketplace will be a section of the site where our users can sell online training courses that they've created. It will be branded on our site as the Marketplace. Is it important to include 'marketplace' in the URL? Or would it be better to include a relevant keyword such as 'training-courses' instead? Or both? I've assumed I shouldn't use both as that would increase the length of the URLs and number of subfolders.
Intermediate & Advanced SEO | | mindflash0 -
Why do branded manufacturer websites have multiple pages for their products?
My favorite golf ball is the Srixon Tour Yellow ball. Srixon has a product detail page here (www.srixon.com) AND there's also a product detail page here at shop.srixon.com. Is there any sort of SEO penalty here because there's some duplication? Does the fact the store is a separate subdomain make this more allowable? Many branded manufacturer websites work this way but it just doesn't make sense to me to have two product pages that you have to manage content when you can have just 1 with a call to action. I also work for a branded manufacturer and am considering rebuilding our website from the ground up with the online store and the main/marketing website blended into one to eliminate this duplication. We have this same duplicated marketing/store setup as well. any feedback is greatly appreciated. Confused.
Intermediate & Advanced SEO | | Timmmmy0