If you want to switch to a new domain name, a very common practice is to use 301-redirection method via .htaccess file.
The process is relatively simple and I have written a guide on that as well.
Usually the method is pretty straight forward if you’re permanently redirecting from an old http domain to a new http domain. However, if your old domain is non-secure and you’re 301-redirecting to a secure domain name, things might get a bit tricky, confusing and complicated.
Recently, I moved a non-secure old domain to a secure domain name and then encountered an error while complying to Change of Address (CoA) in Google Console.
The error message reads: “We couldn’t find any 301-redirect directives for your site. For more details, check the Fetch as Google tool.”
How I Fixed the Change of Address Error Message in Google Console
If you encounter such an error, try the following steps:
Create Properties of All Variations Your New Domain Name
Add four separate properties of your new domain name. For example, if your secure domain name is https://www.yournewdomain.com, you should create four different properties in Google Console such as:
https://www.yournewdomain.com (secure www variation)
https://yournewdomain.com (secure non-www variation)
http://www.yournewdomain.com (non-secure www variation)
http://yournewdomain.com (non-secure non-www variation)
Validate Your New Properties and Add Sitemap
Validate all your new properties in Google Console and add xml sitemap.
Retry Change of Address in Google Console
Once Google Console has accepted all your properties, you should try Change of Address tool for redirection. In my case, it worked pretty easily. However, if you still see the same old issues, give it some time; maybe, a day or two. Try again and it should work.
Hope this helps. Got any questions? Let me know in the comments below.
Featured Image Source: Kinsta