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. Moz Pro
    4. Aren't domain.com/page and domain.com/page/ the same thing?

    Aren't domain.com/page and domain.com/page/ the same thing?

    Moz Pro
    8 5 171
    • 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.
    • G2W
      G2W last edited by

      Hi All,

      A recent Moz scan has turned up quite a few duplicate content notifications, all of which have the same issue. For instance: domain.com/page and domain.com/page/ are listed as duplicates, but I was under the impression that these pages would, in fact, be the same page.

      Is this even something to bother fixing or a fluke scan? If I should fix it does anyone know of an .htaccess modification that might be used?

      Thanks!

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

        Technically they are different URLs.

        http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html

        1 Reply Last reply Reply Quote 0
        • jesse-landry
          jesse-landry last edited by

          As for the htaccess fix, a simple 301 redirect from one to the other will do it. I recommend going with the no-slash format.

          CleverPhD 1 Reply Last reply Reply Quote 0
          • CleverPhD
            CleverPhD @jesse-landry last edited by

            They are different and you need to setup 301s to correct, also check all your menus etc to make sure that you use them consistently - this includes in emails etc - consistency is the key.

            You can go with slashes or no slashes, as long as you are consistent, I have run sites both ways.

            I will disagree with Jesse one thing - I would strongly recommend using the ending slash.  I have several reasons why.

            1. The url ending in a slash traditionally represents a folder with pages/documents/images inside that folder.  Used to be that we would use a URL like /folder/index.htm with index.htm being the default page.   It used to be that if you did not designate any file as an index file, assuming the permissions on the folder were set correctly, you would see all the content in that folder.  Later, you could designate a default index file and so when you left it blank by ending in a slash it would show the content of the default page without needing the index.htm to be included.  Now this issue can cause duplicate content problems (but that is another story).

            2. Knowing all that above, many of your web analytic and other reporting software would create reports using a given folder  Google Analytics is a good one.  If you use the conent drilldown tool, it automatically organizes your reports by looking at the slashes and then grouping pageviews and visits according to the folder structure.

            3) Separately, you had development code that used the folder system in the url as a way to parse what the user wants and then deliver a page.  This is why you can now have a url like /article/file  and you do not need a .htm or .php or .html at the end as the server knows what to do with it without seeing the final extensions.

            What happens then is that you end up with URLs like this

            /toys/age6-8

            /toys/age6-8/redball

            /toys/age6-8/blueball

            /toys/age9-10

            /toys/age9-10/remote-car

            /toys/age9-10/remote-control-train

            You can see this is a toy store and they are grouping toys by age.  Balls are better for younger children vs remote vehicles for older children.  In your GA reporting, if you assume that a slash indicates a new folder

            /toys/age6-8  would not be included in the report with the products as it would be seen as a page within the /toys/ folder.  Same thing with /toys/age9-10

            You have your most important page not grouped with all the products it contains.

            This is one of the reasons that I prefer ending with the slash.  Can you do it the other way, sure, but it just adds more hassle.  The folder ending in a slash is a convention that most people follow and frankly, you will find that users also tend to end in a slash when they put in a url.  You end up with links to your site where they have a slash and one is needed.

            Old habits are hard to break and so this is why I recommend going with the ending slash.

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

              As others have already mentioned, it is typically considered a separate page. Whether you choose with the slash or without is your preference. If a site is small I will typically opt for with/without the slash, but if a site is large and there are many different pages and the structure gets quite large I default to using the slash.

              Not sure if the site you are mentioning is Wordpress based or not, if so there there are plugins that can help with this issue as well.

              1 Reply Last reply Reply Quote 1
              • jesse-landry
                jesse-landry last edited by

                Interesting Clever, thanks for posting that. To be honest your points all make perfect sense. I've just never had that situation come up. To Frank's point, organization with or without slash doesn't matter much for smaller sites but as you said I can see how using the slash could make your analytics tracking much easier.

                Perhaps it depends on the size of the site, but either way I hadn't thought of it in that detailed-a-manner and am glad you posted it.

                Thanks as always !

                CleverPhD 1 Reply Last reply Reply Quote 0
                • CleverPhD
                  CleverPhD @jesse-landry last edited by

                  You bet Jesse - thank you.  I do work at the enterprise level and so it would make sense that this would become a bigger issue on larger sites.  I would still say it could become an issue on smaller sites as people do tend to add the slash at the end and so you end up with a duplicate issue.

                  Full disclosure, I run sites due to legacy issues do not end with the slash.  They run just fine.  The key is to be consistent.

                  P

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

                    Wow, thanks guys! This is indeed an enterprise level site, so especially thanks to CleverPhD for the breakdown on trailing slash v. no trailing slash. Redirecting as we speak.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • I have a duplicate content on my Moz crawler, but google hasn't indexed those pages: do I still need to get rid of the tags?
                      digitalcrc
                      digitalcrc
                      0
                      6
                      228

                    • Root domain or 'www' subdomain for campaigns?
                      BlueprintMarketing
                      BlueprintMarketing
                      0
                      5
                      233

                    • Why my site page don't appeare in the ranking ?
                      RepLoc_Tim
                      RepLoc_Tim
                      0
                      3
                      133

                    • SeoMoz: Competitive domain analysis report doesn't add up?
                      ChiarynMiranda
                      ChiarynMiranda
                      0
                      2
                      156

                    • Google updated their algorithm. How up to date is OpenSiteExplorer's Domain and Page authority?
                      Uds
                      Uds
                      0
                      3
                      386

                    • Http://dev.visualwebsiteoptimizer.com
                      loopyal
                      loopyal
                      0
                      6
                      2.7k

                    • SEOMoz Pro still hasn't crawled 10k pages for one campaign
                      KeriMorgret
                      KeriMorgret
                      0
                      2
                      685

                    • About the rankings report in the Pro Dashboard, does it track the ranking of every page on a root domain, or just the home page or whichever page you set up the campaign with?
                      connectiveWeb
                      connectiveWeb
                      0
                      2
                      699

                    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