Redirect #Blogger blog to another #blog or #URL or #Website

This is simple but takes a while to understand because I am not the software guy so yeah!!
But finally did it.

I tried 3 different-different codings but only 1 worked. Detail are listed below.

First, you need to reach the HTML editing of your blog by clicking on Themes and then Edit HTML. After that search <head> and below enter the working code:






First, I tried the below code and doesn't worked.

<script type='text/javascript'>
  var d='<data:blog.url/>';
  d=d.replace(/.*\/\/[^\/]*/, '');
  location.href = 'https://thetunafo.blogspot.com';
</script>



Second code which doesn't worked for me.

<script>
if(window.location.href == 'http://deepakorg48.blogspot.com')
{
window.location="https://thetunafo.blogspot.com";
}
</script>



Third code which worked for me is.

<meta content='5;url=https://thetunafo.blogspot.com' http-equiv='refresh'/>

(whereas content='5 is the delay time of redirection)



You can check by clicking https://deepakorg48.blogspot.com/