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. Canonicalization on my website

    Canonicalization on my website

    Technical SEO Issues
    7 4 144
    • 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.
    • FCAbroad
      FCAbroad last edited by

      I am kind of new to all this but I would like to understand canonicalization. I have a website which when you arrive on it is www.mysite.com but once inside and flicking back to the homepage it reverts to www.mysite.com/index.html.

      Should I be doing something re canonicalization? If so what?

      Will the link juice be diluted by having two home page versions?

      Thanks

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

        Hi Caroline,

        In this instance, you need to 301 redirect the /index.html version back to the .com version. That would be best practise.

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

          You need to edit your .htaccess,

          <code>RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s(.*)/index\.php (or whatever extension you use) [NC]
          RewriteRule ^ /%1 [R=301,L]</code>
          
          1 Reply Last reply Reply Quote 1
          • FCAbroad
            FCAbroad last edited by

            Thanks for your prompt responses.

            Is the link juice being diluted by having this structure?

            KarlBantleman 1 Reply Last reply Reply Quote 0
            • KarlBantleman
              KarlBantleman @FCAbroad last edited by

              It will be yeah and you will have duplicate content and titles issues as well so you need to fix it ASAP.

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

                Many thanks.

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

                  These guys are all right, but John is assuming you're on an Apache server. You very well might be, but you will need to determine if it's LINUX or WINDOWS based that your site is hosted on.

                  Also, in addition to redirects I would go ahead and remove whatever internal links point to "www.yoursite.com/index.html" and change them to "www.yoursite.com" instead. The redirect will solve the problem ultimately, but fixing these links will help ever-so-slightly and especially in the meantime while you wait to fix your server level redirect.

                  Good luck!

                  1 Reply Last reply Reply Quote 2
                  • 1 / 1
                  • First post
                    Last post
                  • My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.
                    0
                    1
                    82

                  • Page Rank Being Split Between www.website.com and http://website.com
                    DmitriiK
                    DmitriiK
                    0
                    2
                    25

                  • Can redirect URL website also shown on the google ranking? and higher than the original website?
                    Nigel_Carr
                    Nigel_Carr
                    0
                    4
                    57

                  • Redirect our www.website.com to website. Com/target-keyword
                    advertisingcloud
                    advertisingcloud
                    0
                    4
                    79

                  • What I doing wrong when trying to search for links from external websites to my website
                    Adam.Whittles
                    Adam.Whittles
                    0
                    2
                    201

                  • Two companies merge: website A redirect 301 to website B. Problems?
                    Mike_c
                    Mike_c
                    0
                    4
                    1.5k

                  • Would moving a large part of our website onto a separate website be SEO suicide?
                    RyanKent
                    RyanKent
                    0
                    4
                    616

                  • How to attach at text to image that other websites use from my website
                    melody-anne
                    melody-anne
                    0
                    2
                    489

                  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