Automatic refresh webpage / Set time to redirect

When you need your web page automatically refresh in 5 second or any second you want, you can use this meta tag. It's a simple code, put it between tag ... on your web page.

This script is easy but powerful. Many websites use this script to redirect their web page or refresh the same page, for example, my website updates in every 10 minutes and I want to show user my latest content then I put this script to my page and set it refreshs in every 10 minutes.



<meta http-equiv='refresh' content='2;url='file_name or URL'>


// content = time (second).
// file_name = name of file you want to refresh or redirect.
// URL = URL of website that you want to redirect to.

Similar Post

Creating a simple PHP forum tutorial

Learn to create forum step by step, in this tutorials use only simple php code but powerful.

Verifying email address

When users sign up to join your website you may want to verify their email address by sending confirmation link to their email address. You'll learn how to do this in this tutorial.