How to change your Blogger domain URL - Pimp your blog Part II

This post contains affiliate links. If you buy through them, I may earn a commission at no extra cost to you.

This is going to be about how I changed my blog name and URL from mckayhead.blogspot.com to tutorialgeek.blogspot.com and kept all my stats and links in tact.
Step 1- Choose a name:
Choose a blog name that describes your blog.  To check to see if it is already in use, just type in your URL bar whateveryouwantyournametobe.blogspot.com
If it is use, bummer for you. If not, a page will come up indicating that is not a blogger blog. You are free to use that name.

Step 2 - Determine if you care to keep stats or not:
Decide if you want your blog stats to be on your new or existing blog. This determines what you will do in the next step.

Step 3a - Move the blog:
If you don't care where your stats go, then go ahead and just sign up for a new blogger account.  On your existing blogger account go to Settings>Blog Tools>Export Blog.   On your new blog that you just signed up for, go to Settings>Blog Tools>Import Blog and import the xml file you just exported. (Note: as mentioned in the comments, Blogger gives you the option to change the Blog name. Go to Settings>Basic>Blog Address)

Step 3b - Move the blog:
If you want to keep your existing stats, you will need to change the name of your existing blog.  To do this this, go to Settings>Publishing>Change Blog*Spot Address.  Now that you have changed the name, you will need to sign up for a new account with the same name as your previous blog. This will enable you to keep the links.  Export the blog with all your posts on in (see step 3a) and import it to the new blog you just created (the one with your old blogger name).

Step 4 - Do a URL redirect so that links to your old blog redirect you to your new blog:
There are a couple of different ways to do this. 
The easy way first. In the settings for your old blog that you no longer want people to go to, go to Design>Edit HTML
Just under the head tag ( ) write the following:
<meta content='0;url=http://NEWBLOG.blogspot.com' http-equiv='refresh'/>
The code you paste should be in between the opening head tag and the closing head tag:        It does not matter where you place it as long as it is inbetween the opening and closing head tags. You will probably see other meta content tags to assure you it is the right place.
Replace the text "NEWBLOG" with the new name you want to redirect people to.  This will redirect people to your main page of your new blog any time they try to access a page from your old blog.

This is pretty good, but what if you want people to go to the exact page they intended, but on your new blog?  It took me forever to figure this out, but here is the code for how to do it (enter in the same place as the code above):
<script>
var oldURL = "OLDBLOG.blogspot.com";
var newURL = "NEWBLOG.blogspot.com";
var url = location.href;
var newURL = url.replace(document.domain,newURL);
window.location = newURL
</script>

There it is! People are now directed to your new blog!  No broken links or redirects to other pages.