Meta Tag "Refresh" Redirection

User avatar
by DataMine · 2 posts
8 years ago
Posted 8 years ago · Author
Redirect to a Different URL using the Meta Tag "Refresh"

<meta http-equiv="Refresh" content="5; url=SOME URL">

You may need to redirect people to a different page because a URL has changed or was incorrect when printed or released. By using the "refresh" tag you can easily let the user know the correct new URL and can automatically redirect them to the new page. The refresh tag can also help you to make your site more user-friendly; if the correct URL is easy to misspell or confusing, you can make sure that users get to the right page by providing a page at the "wrong" address that will automatically redirect them to the correct URL.

Sample Code
Note that meta tags go in the <HEAD> </HEAD> section of the HTML document.Also, text within the title tag plays an important role in putting your web pages to rank high for searches. Therefore it is important to change the text within the title tags.

    <title>IU Webmaster redirect</title>
    <META http-equiv="refresh" content="5;URL=SOME URL">
  <body bgcolor="#ffffff">
    <center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds.

You can change the amount of time that this redirecting page is displayed by changing the number in the refresh content="5 portion of the meta tag statement. If you want to have your visitors automatically taken to the correct page, then set the number equal to zero.

If you would like to use a redirecting page because a URL has changed, simply replace the document at the original location with one that redirects users to the new URL. It's a good practice to indicate that the redirecting page will only be provided for a limited time and urge visitors to bookmark the new location.

Not all browsers support the Meta "refresh" function, so it's always a good idea to include a clickable link to the new or correct URL.

Source: ... resh.phtml
Posted 8 years ago
Thanks for the post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here


Create an account

Sign up for a new account in our community. It's easy!

Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts