top of page

Wix Editor Request: Setting a Page to Refresh Automatically


The Wix Editor





First Requested:

June 2, 2015 at 6:57:52 AM

Last Updated:

May 25, 2023 at 10:23:45 AM


Currently, Wix does not have an automatic refresh page feature.

## In the meantime, you can use the following workaround to refresh your page:

1. Add the HTML code element in your Editor.
2. Enter the code:
<script> var timer = null;
function auto_reload()
top.location.href = ' **Enter your URL destination here** ';
} </script> <body onload="timer = setTimeout('auto_reload()', **5000** );">
**Note:** 5000 refreshes the page every 5 seconds. You can change the number
to the amount of time you want.

3. Save and publish your site.
**Note:** Be aware that the script also asks if you want to refresh your
Editor. Make sure you save before you refresh the Editor.


This workaround only works if you have upgraded your site with a Premium Plan.

You can also set certain elements, such as videos and audio to loop without
your site being refreshed.

We are always working to update and improve our products, and your feedback is
hugely appreciated.

If this is a feature you would like to see in the future, please click **Vote
for this feature** and we'll make sure to keep you updated.

bottom of page