Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I assume you are trying to redirect your domain versions to your correct/main domain version. By this I mean all non www and https to your https and www URL. Rank math redirection only uses the slug to redirect pages/post. This is the part after your domain name and therefore cannot redirect your domain name.
This can be done by adding the following rewrite rules to your htaccess(Rank math > General Settings > htaccess)
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
Change yourdomain
to your actual domain. if this doesn’t help, do let us know. We are here to assist you.
Looking forward to helping you. 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.