skip to Main Content

My website is in shopify platform, As per the SEO checkup tools i found the ip canonicalization test error. Does anyone know how to resolve this error?

2

Answers


  1. You can add this code to your .htaccess file then test again it will be resolve

    RewriteCond %{HTTP_HOST} ^000.000.000.000
    RewriteRule (.*) http://example.com/$1 [R=301,L]
    

    Please change the example domain name and IP address accordingly.

    Or

    if you have access to edit web.config then add this code

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="IP Hit" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions>
                            <add input="{HTTP_HOST}" pattern="000.000.000.000" />
                        </conditions>
                        <action type="Redirect" url="http://www.example.com/{R:1}" redirectType="Permanent" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    
    Login or Signup to reply.
  2. The issue mentioned cannot be solved. All store’s on Shopify use myshopify.com domain as the primary lookup point. It’s the same case for every third-party host (unless specified). That is why you configure the setting in the C-Panel of your domain registrar.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search