Because
of its flexibility and ease of use for nonprogrammers, Google's Blogspot
hosting service, provides an excellent platform on which to start a blog.
However, if you've moved your blog to another hosting service or you've started
a website on another hosting account, you may want to take your regular readers
with you to your new site. By inserting a simple snippet of HTML code in your
old blog's template, you can automatically redirect your old blog's visitors to
your new website.
Step 1
Log in to your Blogger account and click the blog you want to
redirect to another site.
Step 2
Click the "Template" tab on the left menu.
Step 3
Click the "Edit HTML" button in the main panel.
Step 4
Locate the <head> tag in the
header section and insert the following code after the <head> tag:
<meta http-equiv="refresh"
content="0;URL='http://www.yoursite.com/'" />
Replace "http://www.yoursite.com" with the URL of the
website to which you want to redirect your blog.
Step 5
Click the "Save Template" button.
Step 6
Click the "View Blog" button
to test if the redirect code correctly redirects your blog's visitors to the
site you want.
2nd Method -
To do this , you
need to edit your blog spot template. Go to edit HTML and search for following
line :
<b:include
data='blog' name='all-head-content'/>
Now add this piece
of line after the above line
<meta
content='0;url=http://www.shoutmeloud.com' http-equiv='refresh'/>
3rd
Method -
it’s recommended that you backup your template first.
1. Login to your
Blogger dashboard
2. Go to template
and click edit HTML
3. Now you can see
template codes. Press CTRL + f and then find <head>
4. Now add the
following code below head tag like you see in the image below.
1
|
<script
type='text/javascript'>
|
|
2
|
var d='<data:blog.url/>';
|
3
|
d=d.replace(/.*\/\/[^\/]*/, '');
|
|
4
|
location.href
= 'http://blogtimenow.com';
|
5
|
</script>
|
In the above code change http://blogtimenow.com which
is the destination URL. Now all your pages from the blog will be redirected to
destination URL.
Now we will see another piece of code that redirects particular
blog URL to another blog or website. If you wish not to redirect the whole blog
then you have to make use of this code. Also you can use this for redirecting
user from a particular page to another external website for promotional
purpose.
To do this just paste the following code below head tag and
change the from URL that is http://yourblog.blogspot.com and destination URL
that is http://blogtimenow.com
1
|
<script>
|
|
2
|
if(window.location.href
== 'http://yourblog.blogspot.com ')
|
3
|
{
|
|
4
|
window.location="http://blogtimenow.com";
|
5
|
}
|
|
6
|
</script>
|
The above code just redirects user from the specified BlogSpot
URL to another website or URL.
Here comes another code; with this you can redirect all your
blog pages including home page to another blog or website with specific set
time. So users who lands in your blog will be automatically redirected to
anther blog after a specific time period.
1
|
<meta
content='5;url=http://blogtimenow.com' http-equiv='refresh'/>
|
This is the code, just copy and paste below the head tag in your
template file. In the above code 5 is the set time where users will redirected
to http://blogtimenow.com in 5 seconds after landing.
Hope this article guided you on how to automatically redirect
Blogger blog to another blog / website or URL. Share this and if you found it
useful then please leave your comments. To get more update from Blog Time Now
subscribe to our RSS feeds.
Post a Comment