Welcome to W3Courses
 Like Us on Facebook

Automatically Redirect from one Webpage to Another Webpage using JavaScript

Add the following code to the head section of your webpage to automatically redirect your users to another page.

<SCRIPT>
location.href = "http://www.w3courses.com"
</SCRIPT>
 

Share