Hello,
Thank you for contacting Rank Math support today and bringing your concern to our attention.
1. Yes, you need to redirect all non-www URLs to www URLs.
2. Yes, you need to edit your .htaccess file as Rank Math doesn’t support domain redirection. You may refer to this .htaccess code:
# 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>
3. & 4. As long as all the URLs are redirecting properly from non-www to www, it should not cause any issues including rankings.
5. No, adding www doesn’t affect the current speed of your website.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
I am happy it helped you. Do you have any other questions or do you want us to mark this as solved?
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.