Free Vectors

Redirect your HTML pages without using Javascript or PHP

by Alex
Posted in HTML, Tutorials on July 10th, 2008

This tutorial will show you to redirect users to another webpage without using header and other PHP methods. It’s actually very simple, just one line of HTML code.

Place the code in the head tag of you HTML page :

<meta http-equiv="Refresh" content="1 url=http://www.yoursite.com/newpage.html">

In the Content attribute there is the number 1, and an URL. The number 1 represents the number of seconds until the redirection is made, and the URL is the web address the user is redirected to.

For more tutorials head over to our tutorial site

Related posts

  1. Simple HTML redirection
  2. Send mail via HTML form tutorial
  3. Javascript Drop Down List Tutorial
  4. Send mail with attachment via HTML form
  5. Basic HTML table tutorial

Share this article
Got something to say ?Leave a comment
  • Rob
    August 4, 2008 at 4:43 pm

    I should be worth mentioning that this approach is pretty crap for search engines.

    If however you have to use it I’d suggest that you replace the 1 with a 0 and make it almost instant.

  • Alex
    August 4, 2008 at 5:21 pm

    Indeed, but then again no redirect is search engine friendly.

  • Rick Lim
    August 23, 2008 at 3:46 pm

    Thanks for this tutorial. I had been wondering how to do that until i read this.

  • patrick
    January 13, 2010 at 12:18 pm

    dude thanks. This could be placed directly on the page after the user has submitted the form details, redirect in like 3 secs. cool. many thanks

  • patrick
    January 14, 2010 at 8:21 am

    Cool, tested, works

Add a commentGet a Gravatar

* Name

* Email Address

Website Address

You can usethese tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks


Sponsors

Elegant Wordpress Themes Design Freebies
RSS Feed
Around our Network
Sponsor
Design Freebies
User Links Panel
RSS User Links
  • 9 Funniest JavaScript Effects February 8, 2010
    JavaScript can make many funny things that you may not have realized. Here�s list of funniest things JavaScript can do
  • 20 classy free sans-serif fonts February 8, 2010
    Sans-serif fonts have become the de facto standard for body text on-screen, especially online. It�s mainly because the screen resolution limit makes the serifs look blurry or too large.
  • Photoshop Tutorial: Grunge Valentine's Design February 8, 2010
    A Valentine’s design with a little twist – the heart is intact but the arrow is broken!
  • 30 The Best jQuery plugins inspired from Twitter and Facebook February 8, 2010
    The plugins in this article will allow you to insert in to your website very interesting effects of Social media giants: Twitter and Facebook. If you want to create Facebook like Twitter fan page or Facebook post on Wall effect, these plugins are for you.
  • The Difference Between Vector and Raster Graphics February 8, 2010
    There are two types of computer graphics: vector and raster. The difference between vector and raster graphics is that vector graphics are composed of paths, while raster graphics are composed of pixels...
  • Valentine's Day Themed Pattern Tutorial Using Adobe Illustrator February 8, 2010
    Saint Valentine�s Day is coming, soon millions of will be giving and receiving gifts to show how big are their love. This tutorial aims to guide you through the process of creating a unique St. Valentine�s Day themed pattern inside Adobe Illustrator.
  • 34 Ways to bring Traffic to your Website or Blog February 8, 2010
    If you want to promote your blog/website, so here are some tips for you to make your Website/blog popular and bring traffic to your website/blog. Also it is having some useful links of most popular websites on which you have to make your account to promote your website/blog.
  • Broken Heart â�� Anti Valentineâ��s Day Collection February 8, 2010
    Valentines Day is almost approaching and every other blog is posting wallpapers, graphics, vectors for the ones who are in love. But what for the ones who are singles, for the ones who have nothing to do but watch couples from a distant on this valentines day, for the ones who have been dumped.
Friends
We recommend
Sponsors