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. Ecommerce URL's

    Ecommerce URL's

    Intermediate & Advanced SEO
    5 4 548
    • 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.
    • s_EOgi_Bear
      s_EOgi_Bear last edited by

      I'm a bit divided about the URL structure for ecommerce sites.

      I'm using Magento and I have Canonical URLs plugin installed. My question is about the URL structure and length.

      1st Way: If I set up Product to have categories in the URL it will appear like this

      mysite.com/category/subcategory/product/  - and while the product can be in multiple places , the Canonical URL can be either short or long.

      The advantage of having this URL is that it shows all the categories in the breadcrumbs ( and a whole lot more links over the site ) .  The disadvantage is the URL Length

      2nd Way: Setting up the product to have no category in the URL

      URL will be  mysite.com/product/

      Advantage: short URL.  disadvantage - doesn't show the categories in the breadcrumbs if you link direct.

      Thoughts?

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

        I don't know that it really makes a large difference. Option #1 gives you more keywords in your URL but that's a small benefit and if your category names are large you'll have very long URLs.

        I like the conciseness of #2. I'm not really sure how many people are using breadcrumbs. If I had the option, I would have a default breadcrumb added. Most people use their back button instead.
        In the end, this is more a personal preference. Do you like the red car or the blue car better?

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

          You can still use breadcrumbs on the page, either way. Duplicate content and crawlability are the questions here. Could a product appear in multiple categories or just multiple subcategories. If just subcategories, maybe try removing subcategory from the url structure. If it could duplicate across categories use the canonical tags to point to a single version. I think it's better to use the longer structure either way. Look at the best in the business (amazon, etc) and they all use /category/subcategory/product not just /product.

          s_EOgi_Bear 1 Reply Last reply Reply Quote 1
          • s_EOgi_Bear
            s_EOgi_Bear @abshaw last edited by

            Yes - Duplicate Content is taken care of with SEO extension ( Canonical URL - you can set it ) I'm inclined to have the full URL in there because

            -1 - if it ranks in the SERPs - then the full URL will rank - and you should be able to see the categories as clickable items in the SERPs  and

            -2 - When you arrive at the page , you see breadcrumbs as the "how deep I am" and you can click on the next level up ( wheras if you just have the short link it has no "parent" if you know what I mean )

            -3 Because the full URL is ranked in the SERPs - the breadcrumbs are links when google crawls the page - so each page carries a bit more link juice to relevant categories.

            Make sense?

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

              Personally i prefer to go for the longer url because of the breadcrumbs and the easier url navigation structure. A lot of people delete part of the url to get back to a previous step in the website architecture. Your 1st way allows that to be done fairly easily and the url explains exactly where someone is on the site.
              When someone sees your url in the SERP's this would also indicate that they are finding a product in the proper category.

              The problem with this is that if the webshop has a product in several categories. I build a female clothing webshop a while back and they had categories for top-wear, bottom-wear, specific clothing articles(blouses, jeans, shoes etc) and for each brand. This meant that a product would be in at least 3 different categories within the site.

              For this reason i chose to set the canonical to: http://www.domain.com/product/ in this particular case.

              If your webshop does not have this problem and will not get this problem in the future i would recommend the longer url's.

              1 Reply Last reply Reply Quote 1
              • 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

              • ECommerce Replatforming URL's
                Hurf
                Hurf
                2
                3
                56

              • Changing URLS: from a short well optimised URL to a longer one – What's the traffic risk
                Hurf
                Hurf
                0
                5
                87

              • When the site's entire URL structure changed, should we update the inbound links built pointing to the old URLs?
                BlueprintMarketing
                BlueprintMarketing
                1
                6
                102

              • How to switch from URL based navigation to Ajax, 1000's of URLs gone
                JeremyICC
                JeremyICC
                0
                3
                502

              • URL Injection Hack - What to do with spammy URLs that keep appearing in Google's index?
                Dezzign
                Dezzign
                0
                7
                3.6k

              • Best solution to get mass URl's out the SE's index
                James77
                James77
                0
                3
                583

              • Don't want to lose page rank, what's the best way to restructure a url other than a 301 redirect?
                marig
                marig
                0
                6
                1.0k

              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