Redirect your HTML pages without using Javascript or PHP

IzzyWebsite - CMS - The Easiest to Manage, Content Management System!

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

IzzyWebsite - CMS - The Easiest to Manage, Content Management System!

Related articles and Community news

  • Javascript Paragraph Crossfader
  • Simple HTML redirection
  • Google Knol - Wikipedia watch out
  • Javascript Drop Down List Tutorial
  • Tutorial: How to implement a complete RSS feed and your favorite news feed links in your site?
  • Subscribe to CrazyLeaf Design Blog
    Comments

    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.

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

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

    Leave a comment

    (required)

    (required)



    zaBox - Design News, Tutorials and Resources Brainsites - the best webdesign directory TopOfBlogs Web Design & CSS (Themes) - TOP.ORG