The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Problem: Magento prioritises product URL's without categories?

    Problem: Magento prioritises product URL's without categories?

    Intermediate & Advanced SEO
    9 4 1.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • onlinetrend
      onlinetrend last edited by

      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:
      1. shoptrader.nl/categorieA/product has 301 redirect towards magento.nl/nl/categorieA/product
      2. shoptrader.nl/categorieA/product-5531 has 301 redirect towards magento.nl/nl/categorieA/product
      3. shoptrader.nl/categorieA/product¤cy=GBP has 301 redirect towards magento.nl/nl/categorieA/product
      4. shoptrader.nl/categorieB/product has 301 redirect towards magento.nl/nl/categorieB/product, has canonical tag towards magento.nl/nl/categorieA/product
      5. 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?

      1 Reply Last reply Reply Quote 0
      • renehansen
        renehansen last edited by

        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.

        onlinetrend 1 Reply Last reply Reply Quote 1
        • LynnPatchett
          LynnPatchett last edited by

          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!

          onlinetrend 1 Reply Last reply Reply Quote 2
          • onlinetrend
            onlinetrend @renehansen last edited by

            Thx René! so glad with your professional point of view! Glad to know we are working in the correct direction. pfoeh.

            renehansen 1 Reply Last reply Reply Quote 0
            • onlinetrend
              onlinetrend @LynnPatchett last edited by

              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

              1 Reply Last reply Reply Quote 0
              • onlinetrend
                onlinetrend last edited by

                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-magento

                what do you mean, might not be worth the effort? will it take something like one work week to accomplish this?

                1 Reply Last reply Reply Quote 0
                • LynnPatchett
                  LynnPatchett last edited by

                  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!).

                  1 Reply Last reply Reply Quote 1
                  • renehansen
                    renehansen @onlinetrend last edited by

                    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 😉

                    1 Reply Last reply Reply Quote 1
                    • Everett
                      Everett last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • After hack and remediation, thousands of URL's still appearing as 'Valid' in google search console. How to remedy?
                        effectdigital
                        effectdigital
                        0
                        2
                        155

                      • Magento: Should we disable old URL's or delete the page altogether
                        andyheath
                        andyheath
                        0
                        3
                        1.2k

                      • Will disallowing URL's in the robots.txt file stop those URL's being indexed by Google
                        Martijn_Scheijbeler
                        Martijn_Scheijbeler
                        0
                        11
                        1.6k

                      • Some site's links look different on google search. For example Games.com › Flash games › Decoration games How can we do our url's like this?
                        davebuts
                        davebuts
                        0
                        4
                        268

                      • Does Google Read URL's if they include a # tag? Re: SEO Value of Clean Url's
                        Atlanta-SMO
                        Atlanta-SMO
                        0
                        6
                        1.6k

                      • Is it a problem that Google's index shows paginated page urls, even with canonical tags in place?
                        94501
                        94501
                        0
                        3
                        249

                      • Should we use URL parameters or plain URL's=
                        PinpointDesigns
                        PinpointDesigns
                        0
                        5
                        207

                      • Is there any negative SEO effect of having comma's in URL's?
                        gcdtechnologies
                        gcdtechnologies
                        0
                        3
                        2.6k

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      • Digital Marketers
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy