If you are a blogger and you switch from blogger to web hosting then you definitely get the "You are about to Redirect" issue when you try to open your website in the subdomain version i.e. (.blogspot.com) which looks like (https://techguruji66.blogspot.com) then a screen open says in big words that you are about to redirect which is look like below images.
{tocify} $title={Table of Contents}
And you are stuck at this point right. But don't worry in this blog I will tell you the best way to solve this issue. Maybe you can get this error when you connect your site to Ezoic for ads then you can integrate nameserver to Ezoic which is necessary.
If you want to monetize your site but also you can get this type of issue when you shift from blogger to Hosting or Your DNS has been changed or Different unnecessary IP has been added to your NameServer or when you shift to SoundCloud or other types of cloud server for increasing your website speed then you definitely get this issue.
If you read that redirection notice then it says "Your blog is not hosted by Blogger." which clear here you all data of the webpage, articles, photos, videos, etc are moved to that server and now they were handled that all information of your website.
Bloggers who shift in Ezoic may face this problem and if you turn on speed booster to increase the speed of your website then it recommends you to turn on Cloudflare to save and serve different copies of your website in different locations so that your website loads faster.
Why did the "You're about to be redirected" issue occur?
This occurs due to a change in the DNS of your NameServer or By integrating Your site to any server like Cloudflare, etc.
How to resolve the "You're about to be redirected" notice after Changing DNS?
If you recently change your DNS in your NameServer then you may get this issue so, here is the way to solve this issue.
- Check your DNS in your NameServer and confirm that your nameserver or IP has not been changed.
- Inside DNS if IP addresses are changed then make it normal because all the IP Addresses need to point back to Google/Blogger and then from there, it points toward your website.
- Make sure that you don't add any IP address by yourself.
- Correct all the things Like 4A record Name and CNAME as they need to be But if you don't know then contact your domain provider.
- If you using blogger then you can check this link and set up your blog custom domain as google suggest ( Set up a custom domain - Blogger Help (google.com) )
How to solve the "You are about to be Redirected" error?
- First of all, you must have a blogger website.
- Create another blogger website with the same Gmail from where you are getting this issue.
- Go to that blogger from where you get that issue.
- Unlink your custom domain for a while.
- After unlinking, change the old Blogspot URL like if you have a Blogspot URL (https://example.blogspot.com) and this URL gets issue then you have to change it to any URL like (https://examplea.blogspot.com) and save it.
- After saving it link your custom domain to that newly changed URL.
- Then you have to go to the newly created blog setting which we recently made and there you have to change the domain URL to the old blog URL which is getting issue and save it.
- In the newly created blog, you have to add some Javascript of redirection which redirects your website from the recently created blog to the old blog without any issue but you have to change "https://www.your-website-Url-where-you-want-to-show.com" to the old URL and it will redirect from recently created blog to old blog. And you can download that code from Here ( DOWNLOAD )
- After that, you have put that JavaScript code in the Theme section inside the Html of the theme and you have to copy and paste that code at the beginning of <head> in the recently made new blog and save the theme.
- After saving HTML, you have made that newly made website live to search engine and you can do this by going to the setting in blogger and in Privacy you will find "Visible to Search Engine" option and you have to turn it ON if it is OFF.
- Also, you have to add the "Custom Robot.txt" file in the newly created blog and have to make the robot.txt file the same as the old blog because you will be going to redirect this website, and search engines can crawl your old website from this newly created blog.
- Now your problems are solved. I hope it helps.