WWW Canonicalization on nginx server

#297757
  • Resolved Erdem Tezcan
    Rank Math free

    Hello there,

    I’m getting a warning on my site’s SEO analysis about WWW Canonicalization.

    I’m using EasyWP from Namecheap, so my hosting is configured on nginx server. That means I don’t have an .htaccess file to edit.

    Practically, when I visit www version of my website, it automatically redirects to non-www of my website. But I’m still getting a warning on Rank Math.

    Is there any way to fix this?

    Thank you,

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

    Could you please share the website URL to check? You can add it in the sensitive data section here:

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Looking forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    Hello,

    Thank you for that information.

    The WWW version of your website is still accessible, and not redirecting to the non-www. You can also check using this tool.

    Since you’re using Nginx for your site, you may need to do the redirection to your config file instead of the .htaccess.

    Here’s a link that might help:
    https://www.digitalocean.com/community/tutorials/how-to-redirect-www-to-non-www-with-nginx-on-centos-7

    Your web host should also take care of this kind of redirection even your site’s running under the Nginx server.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘WWW Canonicalization on nginx server’ is closed to new replies.