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. Technical SEO Issues
    4. Canonical question

    Canonical question

    Technical SEO Issues
    6 3 105
    • 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.
    • Augster99
      Augster99 last edited by

      I have at least  three duplicate main pages on my website:

      www.augustbullocklaw.com

      www.augustbullocklaw.com/index

      augustbullocklaw.com

      I want the first one, www.augustbullocklaw.com to be the main page. I put this code on the index page and uploaded it to my site: http://www.augustbullocklaw.com/canonical-version-of-page/" rel="canonical" />

      This code now appears on all three pages shown above. Did I do this correctly?

      I surmise that www.augustbullocklaw.com is pointing to itself. Is that ok?

      I don't know how to take the cononical code off the page that is the page I want to be the main page. (I don't know how to remove it from www.augustbullocklaw.com, but leave it on www.augustbullocklaw.com/index and augustbullocklaw.com)

      Thanks

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

        This is an .htaccess issue. You want to point the non-www to the www. This is not a canonical issue.

        Augster99 1 Reply Last reply Reply Quote 0
        • Augster99
          Augster99 @Francisco_Meza last edited by

          I can't understand that at all.

          Are you (or someone) able to explain step by step what to do.

          How exactly does one point the non-www to the www?

          Francisco_Meza 1 Reply Last reply Reply Quote 0
          • Francisco_Meza
            Francisco_Meza @Augster99 last edited by

            301 redirects within .htaccess. I don't have a step by step because you can google it and get the code.

            1 Reply Last reply Reply Quote 0
            • Tom-Anthony
              Tom-Anthony last edited by

              Hi August,

              You've made a small error; it looks like you've used the rel canonical example from here; http://www.seomoz.org/learn-seo/duplicate-content. The "canonical-version-of-page" there is supposed to be an example of a folder on the site and shouldn't be literal, so the code on your page should be:

              Where the value inside the 'href' part is the URL to the page you wish to be the canonical version. I hope that makes sense! 🙂

              What Francisco is suggesting is an alternative, and often preferred, method of handling this scenario, where a user trying to visit the other (non-canonical) versions of this URL would be redirected automatically by their browser to the canonical version. This does have some advantages but I'd say it isn't significant enough for you to worry about.

              Best of luck! 🙂

              Augster99 1 Reply Last reply Reply Quote 1
              • Augster99
                Augster99 @Tom-Anthony last edited by

                Thank you very much for that clear answer!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Canonical question for cross-listed product listings
                  LivDetrick
                  LivDetrick
                  0
                  3
                  58

                • Canonical Page Question
                  oceanstorm
                  oceanstorm
                  0
                  3
                  42

                • Question on canonicals
                  MattRoney
                  MattRoney
                  0
                  3
                  72

                • Canonical Expert question!
                  Dr-Pete
                  Dr-Pete
                  0
                  5
                  698

                • Mobile or Responsive canonical question?
                  whis
                  whis
                  0
                  2
                  101

                • Rel canonical question
                  admonster
                  admonster
                  0
                  6
                  377

                • Rel Canonical Question
                  Vahe.Arabian
                  Vahe.Arabian
                  0
                  4
                  530

                • Canonical tags/wordpress permalink question
                  smstv
                  smstv
                  1
                  2
                  463

                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