The www and non-www versions of your URL are not redirected to the same site.

#67343
  • Resolved Bindhunaath
    Rank Math free

    I was running SEO Analysis of Rank Math and received the error (The www and non-www versions of your URL are not redirected to the same site). The website information is updated in the sensitive data.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You can fix that issue by adding the following code at the end of your .htaccess file (you can edit it in Rank Math > General > Edit .htaccess):

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    RewriteRule ^(.*)$ https://yourdomain.com/$1 [L,R=301]

    Remember to replace yourdomain.com with your domain name.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have updated the code as requested and now I cannot access my website and received the below error message. Could you please advise to fix this.

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    I just wanted to let you know that I contacted GoDaddy and they fixed the server error. If you could resolve the initial issue I reported, that’d be grateful.

    Hi,
    I have added Hummingbird plugin to optimize my wordpress site, as a result, the WWW Canonicalization appeared to be resolved after installed them. The ticket can be closed. Thank you for your support.

    Hello,

    We are glad to hear the issue is resolved.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘The www and non-www versions of your URL are not redirected to the same site.’ is closed to new replies.