How to Make a Web Page Auto Refresh

Techwalla may earn compensation through affiliate links in this story.

Creating a web page that automatically refreshes allows web programmers to push current content onto the web page on a consistent basis without needing web users' caches to clear before they can see the update. Having a page that auto refreshes can help a web programmer because he does not need to worry about it taking a long time for newly uploaded information to appear live on a website.


Step 1

Log in to your web server and locate the page that you want to auto refresh.

Video of the Day

Step 2

Click on the page within the


Step 3

Insert the following code:



In this code, "5" means that the code will refresh every five seconds. If you want the page to refresh more or less frequently, replace "5" with the number of seconds you want.

Step 4

Click "Publish." Your web page will now automatically refresh.