Templateo - Website Templates

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

Share this article
IzzyWebsite - CMS - The Easiest to Manage, Content Management System!
3 ResponsesLeave 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.

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>
Sponsors
PSD to HTML
PSD to HTML
Elegant Wordpress Themes PSD to HTML
Favicon Ads
Share your design news Free Joomla Templates Free mediawiki skins Free pligg templates Flash web templates Free icons for download CLD Vectors - Free Vectors for Download Free Vectors
RSS Feed
Around The Site
Sponsor
The World's Best Web Design
RSS Latest on zaBox
Sponsors
User Links Panel
RSS User Links
  • Web Design Trend Hunting - Fluid Grid Layout: 10+ Outstanding Examples & 1 Tutorial July 3, 2009
    In our daily web hunting raids we have spotted another interesting & good-looking trend - the fluid grid-based layout
    Web Design Trend Hunting - Fluid Grid Layout: 10+ Outstanding Examples & 1 Tutorial
  • 55 Really Creative And Unique Blog Design Showcase: Inspiration July 3, 2009
    There are millions of blogs around the world, so it's really a challenge to stand out with unique design. Get inspired, to help you create really unusual design!
    55 Really Creative And Unique Blog Design Showcase: Inspiration
  • Design a wordpress theme with Photoshop July 3, 2009
    If you want to create your own custom blog design follow this easy tutorial to learn how to design a wordpress theme in Photoshop
    Design a wordpress theme with Photoshop
  • 4 Useful Random Topics For Bloggers July 3, 2009
    A roundup post for June 2009 for TutZone :)
    4 Useful Random Topics For Bloggers
  • Mark Prints for Self on Other's Blog July 3, 2009
    For a change, this post is for readers from all niche, segment, interest, community and category. Even if you have no relation with the world of web designing you shall find reading it worthy.
    Mark Prints for Self on Other's Blog
  • Web Standards July 3, 2009
    Using web standards improve the accessibility of the websites, reduce development and maintenance time, improve search engine rankings and can also improve accessibility.
    Web Standards
  • 50 Minimalist Websites Design: Best Since 2007 July 3, 2009
    Minimal Websites are interesting because it's a way to let visitors focus on the content. We just mixed the best of Minimalist design featured on CssLeak since 2007. There is 50 websites order by popularity.
    50 Minimalist Websites Design: Best Since 2007
  • HP Workstations - Prize winning video July 3, 2009
    Viral video promoting the HP workstation’s and their ability to bring peoples ideas to life.
    HP Workstations - Prize winning video
Friends
We recommend
Sponsor

Money Saving Tips
Find cheap business cards printing, postcard printing and brochure printing by searching for online coupons. Search terms like "print flyers coupon code" in your favorite search engine.