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

#329288
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked your site, and all of the versions are returning 200 OK status codes. You can also use this tool to check

    WWW

    You can use this code to your .htaccess file to redirect your site from HTTP to HTTPS and non-www to www:

    # 301 REDIRECT HTTP TO HTTPS AND NON-WWW TO WWW
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
    RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
    </IfModule>

    Please get in touch with your web host for assistance doing this. Also, please generate a backup of your .htaccess file first before making any changes.

    I hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

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