Hello,
I apologize for the issue you are facing with the 301 redirection. To redirect different forms of your domain to one final URL, you need to ensure that you have set up the redirection correctly in Rank Math.
Here’s how you can fix the issue:
- Add the Source URL: Make sure you enter all the different versions of your domain as the Source URLs in the redirection settings. You can add them with their full URLs (including the protocol and domain name) or just add the address from the document root.

-
Match Types: Select the appropriate Match Type based on how you want Rank Math to match the URLs for redirection. You can choose from options like Exact match, Contains match, Starts With match, End With match, or Regex match.
-
Destination URL: Enter the final URL where you want all the different versions of your domain to redirect to. Make sure to enter the full address, including the protocol and domain name.
-
Redirection Type: Choose the 301 Permanent Move redirection type for this scenario.
If you follow these steps and ensure that you have added valid Source URLs for all versions of your domain, you should be able to set up the redirection successfully.
If you continue to face issues, please provide more details or screenshots of your redirection settings so we can assist you further.
Thank you for reaching out!
Sources:
How to Fix ‘Duplicate, Submitted URL Not Selected as Canonical’ Issue in Google Search Console » Rank Math
Why Are Posts Redirecting to www or Non-www Incorrectly?
How to Create a Redirection » Rank Math
How to Fix 404 Errors with Rank Math SEO Plugin
How to Redirect Posts After Changing URLs » Rank Math
the above mentioned procedure, i have already tried,,,and didn’t work….
Hello,
Please note that Rank Math redirections cannot be used to redirect HTTP and WWW versions of your domains.
In that case, you may get in touch with your web host to redirect the different variations of your website to the final URL.
Alternatively, you can follow our guide here for the redirection that can be added to your .htaccess file:
https://rankmath.com/kb/how-to-redirect-www-urls-to-non-www/
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.