Ads (728x90)

Latest Post

Kesehatan

Tips

This trick is useful if you change the domain of the blog and want the visitors to follow you to your new domain, or if you have a new blog and want to redirect all your visitors from the old one.






1. Log in to your dashboard--> layout- -> Edit HTML and between the <head> </head> tags, put this:

meta content='5;url=http://yournewblog.com/' http-equiv='refresh'/> 

Where "5" is the number of seconds before the redirect and http://yournewblog.com/ is the address of the blog you want to redirect to.

2. Display a message on your old blog, before the redirect occurs
This is an optional step. You can use it to tell your readers that you have moved your blog, why or... whatever you want.
To do this, go to your old blog's Layout > Edit HTML and insert the following code right after the <body> tag:


div style='position: absolute; top: 30px; left: 550px; border: solid 2px #333; color: #000; background-color: green; padding: 5px; width: 400px; z-index: 5; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: large;'>
<p><strong>My blog has moved!</strong></p>
<p>You will be automatically redirected to the new address. If that does not occur, visit<br/> <a href='http://yournewblog.com/'> <strong>http://yournewblog.com</strong></a> <br/> and update your bookmarks.</p>
</div>

Save the template and you are done.

Post a Comment