How to Redirect a Website to Another Site
To redirect a website address to another site, you can do it in one of the following ways.
Using meta tag:
Adding the following line of code in your webpage will redirect the browser to google.com. You can change this by entering the name of your new website in the url field.
<meta http-equiv="refresh" content ="5; url=http://www.google.com">
The setTimeOut() method is used change the window.location property of the browser. Thus the website redirect is implemented this way to redirect a website to another site after the specified number of milliseconds.
<title>Page Auto Redirect</title>
2) Check the version and vendor of the browser and redirect the user accordingly so that the user gets to see your website just the way you wanted him/her to see.
3) If the browser used is a mobile browser like Opera Mini or Safari for iPhone or Firefox for Android, redirect them to a mobile compatible website or a mobile website. Mobile websites usually have a 'm' (without quotes) followed by a period (.) followed by the website address.
Examples of popular mobile websites are m.google.com, m.gmail.com, etc.
It is important to learn how to redirect a website address to another site. Thus you will not have to worry about the traffic you have been getting to your old website (if you have moved all your website's contents to a new location.) For advertisers, there has never been a better strategy in making sure that the user views the advertisements for a few seconds before he/she is redirected to another site.
Learn the various ways in which you can redirect a web page to another site please refer to Auto Redirecting a Web Page with HTML Code.