Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Please navigate to Rank Math > Redirections > Add new as shown below and share a screenshot of how this looks on your end so that we can advise further:
Looking forward to helping you. Thank you.
Hey there,
I’ve also just discovered I have a canonicalization error however when I try to manually perform 301 redirects it keeps telling me to “Please add at least one valid source URL.”
I’m trying to avoid search engines crawling the non www. version of my site. Can you help me with this?
Cheers
Hi @photocmcopeland,
Thanks for getting in touch and sorry for the inconvenience caused.
To redirect from the non www version of your pages, I can suggest that you add the following rules to your htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} example.com
RewriteRule (.*) https://www.example.com/$1 [R=301,L]
Please take a look at the following resource page for more info on this: https://rankmath.com/kb/solving-redirection-issues-using-rank-math-seo/
I hope this info helps. Thank you.
Hey,
Where exactly do I find the htaccess file? I’m using WordPress based site.
Thanks
Hello,
Please navigate to Rank Math > General Settings > Edit htaccess file as shown below:
I hope this info helps. 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.