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. Canonical vs 301 - Web Development

    Canonical vs 301 - Web Development

    Intermediate & Advanced SEO
    6 6 1.2k
    • 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.
    • mattdinbrooklyn
      mattdinbrooklyn last edited by

      So I'm having a conversation with the development team at my work and I'm a little tired today so I thought I would ask for other opinions. The currently the site duplicates it's full site by having a 200 show with or without a trailing slash. I have asked for a 301 redirect to with the trailing slash. They countered with having all the rel=canonical be the trailing slash, which I know is acceptable. My issue is that while a rel=canonical is acceptable, since my site has a very high level of competition and a very aggressive link building strategy, I believe that it may be beneficial to have the 301 redirect. BUT, I may be wrong. When we're talking hundreds of thousands of links, I would love to have them directly linked instead of possibly splitting them up between a duplicate page that has a correct canonical. I'm curious to what everyone thinks though....

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

        301 Redirects are primarily designed for more permanent complicated jobs.

        • Expired content
        • Multiple versions of homepage
        • Change of site

        Canonical tags are a better way of telling Google that a query or slash is serving the exact same page content and is just a variation of the URL. Neither if done correctly will have a negative effect on the SEO, however using the canonical tag is far easier and appropriate.

        https://moz.com/blog/301-redirect-or-relcanonical-which-one-should-you-use

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

          In some cases, implementing a self-referring 301 redirect may cause an infinite loop in which your homepage would not be accessible at all, so I can understand your dev team's reluctance.

          A canonical tag and a 301 redirect pass the same amount of link authority, so in this case, they serve the same purpose and provide the same benefit. I'd stick with the canonical tag and pick a different, more valuable battle to fight.

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

            When it comes to the trailing slash on website URLs, the proper way is to use a 301 Permanent Redirect. However, you can help minimize this problem by fixing all of the internal links on the site so that you always link internally to the version that you prefer.

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

              Going straight to the root.    There are two versions, with and without slash, because someone started using them.  So the first thing that needs to be done is to decide which one is dominant today and go with it.  Immediately thereafter, development team, bloggers, everyone is to be informed of the new form of your URL and be expected to use it.  Clean them up, get them off of the site.  It's time to stop being sloppy.  People who don't go with the company's method need to be reminded.

              You will find disagreements on if you should use 301 or if you should use rel=canonical.

              The advantage of a 301 is that it takes control and forces the URL that you want to the browser and bot.  In contrast rel=canonical is a "hint" to Google.  We know for a fact that google changes their mind about how they handle things and they will ignore variants of URLs for an awful long time.  This same problem exists with parameters.  Google provides parameter controls in your Search Console, however, if you have experience with them you will know that they are highly unreliable and take a long time to be picked up and partially obeyed.  So you can take control with 301 or use rel=canonical in combination with prayer.

              I use 301s because I don't trust Google to do things my way and because once you start using 301s your problems will immediately be reduced in size because the versions of the URLs that you don't want to see will be permanently eliminated from the address window of the browser.  I am also pretty luck that the staff here knows how the URLs on our websites are standardized.

              DirkC 1 Reply Last reply Reply Quote 3
              • DirkC
                DirkC @EGOL last edited by

                +1 for Egol here. A canonical is just a request to Google - a 301 is a directive Google has to respect. I don't really understand why your technical team is making such a fuzz about it - enforcing the trailing slash (or not) is just 1/2 lines in your .htacess file. Check Stackoverflow

                Dirk

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • 301 vs Canonical - With A Side of Partial URL Rewrite and Google URL Parameters-OH MY
                  TStorm
                  TStorm
                  1
                  3
                  53

                • Best Practice Approaches to Canonicals vs. Indexing in Google Sitemap vs. No Follow Tags
                  effectdigital
                  effectdigital
                  0
                  4
                  57

                • Syntax: 'canonical' vs "canonical" (Apostrophes or Quotes) does it matter?
                  Alick300
                  Alick300
                  0
                  2
                  77

                • 301 vs 302
                  Highland
                  Highland
                  0
                  7
                  1.0k

                • Canonical tag vs 301 in this Panda situation - trying to wrap my brain around this!
                  EGOL
                  EGOL
                  0
                  3
                  419

                • Redirect 301 or Canonical.
                  Matt-Williamson
                  Matt-Williamson
                  0
                  6
                  246

                • 301 redirect or rel=canonical
                  ORob
                  ORob
                  0
                  7
                  383

                • Web Developer, Web Designer, SEO Person...what do I need?
                  QGS77
                  QGS77
                  0
                  3
                  349

                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