Hello,
We apologize for the confusion you’re experiencing with the www and non-www versions of your URL. It sounds like there may be a misconfiguration that is causing Rank Math to indicate that the two versions are not properly redirected.
To resolve this issue, you can follow these steps to edit your .htaccess
file and add the necessary redirection rules:
-
Navigate to the .htaccess File: Go to your WordPress Dashboard, then navigate to Rank Math SEO → General Settings → Edit .htaccess.

-
Add Redirection Code: Depending on your preference, you can add one of the following code snippets to redirect from www to non-www or vice versa. Make sure to place it after #END WordPress
:
- To redirect from www to non-www:
RewriteEngine On
RewriteCond %{HTTP_HOST} www.example.com
RewriteRule (.*) https://example.com/$1 [R=301,L]
- To redirect from non-www to www:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ https://rankmath.com/wp-content/uploads/2021/05/Save-Changes-1.jpg [L,R=301]
Replace example.com
with your actual domain name.
-
Save Changes: After adding the code, click the Save Changes button.

-
Check Your Site: Once you’ve saved the changes, check if the redirection issue has been resolved by visiting both versions of your site.
If you continue to experience issues, please reply to this ticket with your website URL so we can assist you further. Thank you for raising this concern, and we hope this helps clarify the steps!
Sources:
Why Are Posts Redirecting to www or Non-www Incorrectly?
I dont have Edit .htaccess on my general settings options
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Can you please share your website URL with us so that we can check the issue further for you?
Meanwhile, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Clear SEO Analysis
and Remove Transients
buttons to flush the SEO Analysis cache.

Please clear your website and any server-level caching on your site before doing the SEO analysis again.
Let us know how it goes. Looking forward to helping you.
https://foamzoneatlanta.com
I will do other things now!
I just tried the other and it still is there
Hello,
You can use this tool to verify that all of your versions are opening fine (200 status)

The 3 versions of your site should be redirected to the final version (301, 200 status)
You can also forward that screenshot or the tool for your web host’s reference.
Looking forward to helping 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.