How do I redirect my Web site's visitors to my value application?
Print this Article
Last Updated:
October 15, 2014 10:53 AM
You can use JavaScript to redirect visitors to a value application that is not installed in your website'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.