Page redirect

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Tricks & Shortcuts and other Html topics.

How can I automatically redirect to a different page?

Page redirect

Redirecting users to a different page is most useful when you change the webpage's address. If you think there's a chance that someone will go to the old address, ie from a search engine or link trade, leave the old page up as long as possible with the following modification.

<meta HTTP-EQUIV="REFRESH" content="0" url="http://www.yourdomain.com/index.html">

This, as with all meta tags, needs to be placed between the <HEAD> and </HEAD> tags. You can change the content="0" to any number of seconds that you want the browser to wait before redirecting.

   

Comments

Nobody has commented on this tip yet. Be the first.



Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Alexis Niki