Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
If you have already installed an SSL certificate,
You should consider adding an HTTP to HTTPS redirection adding the following in Rank math > General setting > htaccess.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ https://yourdomain.com/$1 [L,R=301]
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi,
Since we’re using Nginx and not apache, my developer said this won’t help.
What should we do when we use Nginx?
Hello,
Please refer to this link:
https://www.cyberciti.biz/faq/redirect-nginx-non-www-to-www-domain-over-ssl/
If this does not work, I suggest talking to your web host for help as they would be able to provide you with the correct configuration.
I hope this resolves your issues.
Hi again,
The link you sent shows how to redirect a non-www to www, but we want to do it the other way around 🙂
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.