Join WhatsApp ChannelJoin Now

How to Redirect Another Webpage

Hi,

Today, i we will show you how to redirect another webpage. This article will give you simple example of how to redirect another webpage. you will learn how to redirect another webpage. So let’s follow few step to create example of how to redirect another webpage.

HTML redirects

add your index file :

<meta http-equiv="refresh" content="0; URL='http://new-website.com'" />

JavaScript redirects

window.location = "http://new-website.com";

window.location.href = "http://new-website.com";
window.location.assign("http://new-website.com");
window.location.replace("http://new-website.com");

Recommended Posts