Redirect without using PHP

Posted by Alex on July 6th, 2008
thumbnail

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 :

1
    <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.

Difficulty :
Tutorial Stats : 232 views
Rate Tutorial :
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, Rating: 5

Leave a Reply