WWW Canonicalization Analyis

#88802
  • Resolved Fred
    Rank Math free

    Hi my website: https://www.

    when i do seo analyis with rank math:

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

    What sohuld i do?

Viewing 3 replies - 1 through 3 (of 3 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.

    To redirect all requests to non-www, add the following lines at the beginning of your website’s .htaccess file:

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

    Replace yourdomain.com with your actual domain name.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Fred
    Rank Math free

    Hi my website im using with www. are you sure about code?

    Hello,

    I checked your URL with our external analyzer: https://rankmath.com/tools/seo-analyzer/ and your site passes the WWW canonicalization test.

    Please head to Rank math > Status & Tools > Database Tools and flush SEO analysis tools. You should also clear your cache and then perform SEO analysis on your site again.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

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

You must be logged in to reply to this ticket.