Enter your email address:

Delivered by FeedBurner

Sign up to receive a reply:

Powered by MT-Notifier


How do I redirect users from my old blog to my new one?

Vote 0 Votes

There are at least a few ways to re-direct any website, and they each come with pros and cons.

(1) The Meta-Refresh Method

Adding this bit of code to your blog "Main Index" template will mean that your blog's visitors will be immediately redirected to this UThink Developer's Corner blog:

<meta http-equiv="refresh" content="0;url=http://blog.lib.umn.edu/heinz062/uthink-forum">

You might want to add a short time delay to the refresh to allow users to see a message, like, "Click here if you are not automatically redirected in 5 seconds." To do this, change content="0" to content="5".

(2) The PHP method

If your blogs are using PHP (the extension of your blog's main index page is *.php), then you can add this bit of code:


header( 'Location: http://www.yoursite.com/new_page.html' ) ;


There are lots of other redirect methods, but these are the two most commonly used. The first method (meta-refresh) is said to be "W3C non-compliant", since it breaks the normal use of a user's browser back button. (If a user goes to your redirect page, gets automatically redirected to the new site, then hits "back", they are taken to the redirect page, which forces them forward again.)

Add a Reply

Forum Groups

Classic Blogs and General Info

29 42

Last Topic: Can I use PHP code in my blog? by Charlie Heinz on Jan 9, 2012



Be the first to post a topic in this forum

Blogging Principles

Be the first to post a topic in this forum

Other Template Sets

Community Blogs

Be the first to post a topic in this forum

Community Forums

Be the first to post a topic in this forum

Widget Marketplace