Sunday, July 05, 2015

Redirect One Blogger Blog to Another Without Changing the Post URL
Redirect One Blogger Blog to Another Without Changing the Post URL
Have ever seen Redirection script for Blogger? Oh yeah...they are very popular for redirecting one blog to another. Yes. They work for Blogger but they help you to loose your traffic also. How?

Suppose, your visiter searched for your blog on Google (which have redirection script installed). He found a great article of your blog. He clicked on it. The URL he clicked was http://blablabla.com/POST_URL. But your blog http://blablabla.com have redirection script installed that redirected your blog http://blablabla.com/POST_URL to http://anyblogurl.com/. He was going to /POST_URL and after redirection, he got what? Just homepage of the redirected blog.

So, today I am going to tell you a script (JavaScript) which will help you to convert your disappointed visitors to normal visitors or may be loyal visitors. This script works great if you have recently changed the URL of your blog and of course, your visitors don't know this. To let them know, you simply install a redirection script. But when your blog's visitor tries to open one of your blog's post, he redirected to homepage of your blog. Don't you think its weird?

This script is not like that scripts. This script will redirect your blog http://blablabla.com/POST_URL to another blog but which same post URL. Don't you think its great? Absolutely. It is.

How to Install this Redirection Script On Blogger?

Its easiest! Just follow some easy as ABC steps and you will get working script!

Steps are following:-

  • Go to Blogger Dashboard > Template > Edit HTML
  • Now, search for '<head>' (you know how).
  • Next step- Just add this short JavaScript below '<head>' after customizing it.
<script type='text/javascript'>
 var blog = document.location.hostname.split(".");
if (blog[blog.length - 1] != "YOUR_BLOG_URL.com") {
  var ncr = "http://REDIRECT_BLOG_URL.com/ncr";
window.location.replace(ncr + document.location.pathname);    
 }
 </script>
  • Change Green highlighted words with your blog and blue highlighted URL which the blog URL which you want to redirect.
  • Save your template and you're done!

Final Words from Author

I hope you have liked this JavaScript because its one n only JavaScript which redirect one blog to another without changing post URL and works on Blogger. If you have really liked, then give us chance to serve you better by just subscribing us using below subscribe box. Thanks!