top of page
  • Writer's pictureDallas Texas Web Design Co.

How to automatically redirect a visitor to another page on your Wix website.

Updated: Jun 7

This video will share how you can automatically redirect visitors from one page on your Wix website to another after a defined duration. Enable Dev Mode within your Wix editor and have fun!

The code below makes use of wixLocation to identify the current page and redirect the visitor to any page within the website. Duration is defined in milliseconds. You are free to make this longer or shorter.

import wixLocation from 'wix-location'; $w.onReady(function () { setTimeout(function () { // Redirect to home page"/"); }, 5000); // Wait for 5 seconds (5000 milliseconds) });

View more of our self help videos on YouTube below.

206 views0 comments
bottom of page