header-logo
Getting started with WixLearn how to build your website and business using Wix.
Creating a websiteDesign and manage your site with smart functionalities.
Account & billingManage subscriptions, plans and invoices.
Using the Wix mobile appsRun your business and connect with members.
Connecting a domainLearn to purchase, connect or transfer a domain to your site.
Managing your businessGet tools to grow your business and web presence.
Promoting your siteBoost your visibility with SEO and marketing tools.
Studio, Partners & EnterpriseGet advanced features to help you work more efficiently.
Need more help?Find solutions, learn about known issues or contact us.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet 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.