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. On-Page / Site Optimization
    4. Slash vs no slash?

    Slash vs no slash?

    On-Page / Site Optimization
    5 4 714
    • 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.
    • shawn81
      shawn81 last edited by

      Why does SeoMoz tell me I have duplicate content issues and show me these two URLs?

      mysite.com

      mysite.com/

      What does the slash matter and why is that considered duplicate content?

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

        The slash is minor, but it can create some issues... Search engines can figure out pretty easily which URL you mean but users can't. If users come to the site and decide to link back to you, the link can point to either mysite.com or mysite.com/. The PageRank is essentially split to what really amounts to two separate pages.

        You should redirect one to the other. It isn't a huge deal and won't cause too many problems, but why leave something to chance with the algorithm?

        If your site runs Drupal, I suggest downloading the Global Redirect plugin for easy across the board decisions about trailing slashes and other duplicate content URL issues.

        JohnW-UK 1 Reply Last reply Reply Quote 1
        • JohnW-UK
          JohnW-UK @brandonjschwartz last edited by

          Do you know of any plugin suitable for Joomla or Wordpress 🙂

          brandonjschwartz AlanMosley 2 Replies Last reply Reply Quote 0
          • brandonjschwartz
            brandonjschwartz @JohnW-UK last edited by

            Hmm... Wordpress has a built in fix. Just add or remove the trailing slash from your permalink structure. For the home page, you can just specify what the home page should be. Joomla, from what I can tell, requires some modification to the htaccess file... I'm not much of a Joomla fan and my Wordpress information could be incomplete, so if anyone has any corrections feel free to chime in.

            1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @JohnW-UK last edited by

              On the homepage it does not matter, as no redirect is made to the slash, both return a 200 code
              but on deeper pages it is a problem as it leads to canonical issues.
              I prefer no slash because when people link to you by hand, they rarely add the slash on the end.

              Wordpress makes a mess of this, i have to say, i dont use wordpress so i dont know if its wordp[ress of a plugin, but almost all wordpress sites have un-neecessary redirects. That is internal links that go thought a 301 to get to the internal link, each 301 is a link juice leak, so why would you do this when the link is internal. Wordpress sites often use a 301 redirect to send you to a url with a slash, when the link should point to the slash or none slash, and there for not leak ling juice.

              The first think i do when i build a site, is setup my redirects, to ensure a canonical domain, none slash( or slash one of the other), and make sure all urls are lowercase. These things are a nightmare to fix later.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Subdir vs Subdomain vs ccTLD
                Nigel_Carr
                Nigel_Carr
                0
                4
                262

              • Trailing slash
                CleverPhD
                CleverPhD
                0
                4
                2.0k

              • 301 vs 302 redirect
                Everett
                Everett
                0
                6
                269

              • Google vs. Bing
                KevinBudzynski
                KevinBudzynski
                0
                3
                334

              • Pages vs Posts
                SixTwoInteractive
                SixTwoInteractive
                0
                12
                280

              • Slash at the end of a url
                corwin
                corwin
                0
                5
                352

              • Multiple domains vs single domain vs subdomains ?
                EGOL
                EGOL
                0
                5
                5.5k

              • Google VS Yahoo VS Bing & Onpage Optimization in 2011
                Dan-Petrovic
                Dan-Petrovic
                0
                4
                1.2k

              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