How To Fix Blogspot Redirecting to NCR Not Found Error 404 Page After Adding a Custom Domain


Have you gotten an error in your blog's URL and it's redirecting you to an NCR Not Found Error 404 Page after adding a custom domain to your Blogger Blog? If yes, then you're at the right solution spot!

I also got this same error sometimes earlier when I was adding a custom domain to one of my blogs but I realized the problem, I found out what caused the issue and I discovered the solution.


For those who would like to know what causes this error then read the lines below:

The Cause:

This is caused when you have added the code to Disable Specific Country Redirection in your Blogger Blog when you are were still using the default .blogspot URL.

The Solution, How To Fix: 

Since you no longer use the default .blogspot URL then remove the Specific Country Redirection Disabler code from your blog. To do This follow the lines below:

[*] Go to Blogger Dashboard >> "Theme" >> click on the "Edit HTML" button >> find the code below and delete them all and save template.

Code:

<script type='text/javascript'> var str= window.location.href.toString(); if ((str.indexOf('.com/'))=='-1') { var str1=str.substring(str.lastIndexOf(".blogspot.")); if (str1.indexOf('/')=='-1') { var str2=str1; } else { var str2=str1.substring(0,str1.indexOf('/')+1); } window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/'); } </script>


 That's All Hope this Works!