header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Wix Editor Request: Setting a Page to Refresh Automatically

Collecting votes
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.
Important:
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.