How do I redirect my Web site's visitors to my value application?
Print this Article
Last Updated:
April 29, 2008 10:12 AM
You can use JavaScript to redirect visitors to a value application that is not installed in your Web site's root directory.
To Redirect Visitors To Your Value Application
- In your preferred editor, open your site's default page.
- At the top of the file, add the following code, where "coolexample.com" is your domain name and "directory" is the directory in which your value application resides:
<script type="text/javascript" language="JavaScript">
window.location="http://www.coolexample.com/directory/";
</script> - Save the file, and then upload (FTP) it to your hosting account.