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. How to do ip canonicalization ?

    How to do ip canonicalization ?

    Technical SEO Issues
    6 6 41.4k
    • 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.
    • unibiz
      unibiz last edited by

      Hi ,

      my website is opening with IP too.  i think its duplicate content for google...only home page is opening with ip, no other pages,  how can i fix it?,  might be using .htaccess i am able to do...but don't know proper code for this...this website is on wordpress platform...

      Thanks

      Ramesh

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

        Hello,

        You can add the next lines to your .htaccess to overcome the duplicate content on Serach Engines.

        RewriteEngine on

        RewriteCond %{HTTP_HOST} ^domain.com [OR]

        RewriteCond %{HTTP_HOST} ^82.223.246.132

        RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

        RewriteCond %{THE_REQUEST} ^.*/index.html

        RewriteRule ^(.*)index.php$ http://www.domain.com/$1 [R=301,L]

        This is for auto WWW, auto redirect from www.domain.com/index.php[or]index.html to www.domain.com

        I hope this helped you!

        1 Reply Last reply Reply Quote 1
        • Chris.Menke
          Chris.Menke last edited by

          Ramesh,

          It's not a problem that you site opens when you type in the IP address--that's normal.

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

            Hi Ramesh,

            Chris is absolutely right there's no way your IP address is creating content

            Your site is accessible through using DNS domain name servers your IP address is translated by a computer DNS server into something that you can remember like example.com instead of 123.488.91.00

            It has no way of creating duplicate content

            Regardless you do want to use a

            Tags for every valid webpage that you want to show up in Google search engine.

            here is more

            http://moz.com/learn/seo/canonicalization

            http://www.mattcutts.com/blog/rel-canonical-html-head/

            http://googlewebmastercentral.blogspot.com/2013/04/5-common-mistakes-with-relcanonical.html

            https://support.google.com/webmasters/answer/139394?hl=en

            Hope this is of help,

            Thomas

            1 Reply Last reply Reply Quote 1
            • Devanur-Rafi
              Devanur-Rafi last edited by

              Hi Ramesh,

              Being able to access your website using the IP address is very common and there is nothing that you should be worried about in this regard. It happens when you are hosting your site on a dedicated IP. This won't be the case if you go for a shared hosting where the IP address would be shared among other websites.

              Best,

              Devanur Rafi.

              1 Reply Last reply Reply Quote 2
              • Balkon_Hotel
                Balkon_Hotel last edited by

                Thank you Thomas

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Canonicalization
                  Nigel_Carr
                  Nigel_Carr
                  0
                  5
                  115

                • IP Change
                  wearehappymedia
                  wearehappymedia
                  0
                  5
                  99

                • Canonicalization help
                  IceIcebaby
                  IceIcebaby
                  0
                  4
                  63

                • Canonicalization on my website
                  jesse-landry
                  jesse-landry
                  0
                  7
                  144

                • IP redirects
                  JarnoNijzing
                  JarnoNijzing
                  0
                  6
                  302

                • Canonicalization - Some advice needed :)
                  Dr-Pete
                  Dr-Pete
                  1
                  28
                  1.1k

                • Does changing the IP matter?
                  zeepartner
                  zeepartner
                  0
                  5
                  906

                • On a dedicated server with multiple IP addresses, how can one address group be slow/time out and all other IP addresses OK?
                  RobertFisher
                  RobertFisher
                  0
                  6
                  2.5k

                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