The Redirect URL
option allows you to forward visitors to your domain to another URL or visitors to particular pages of your domain to another URL
There are a number of old URLs for your site's home page that are no longer current, yet people still use them. You don't
really want people going to those old URLs because either an outdated page will display or they'll get an error.
Set up redirection for these old URLs, so that when users enter them into their web browsers, the file at your current URL displays
In order to use the Redirect URL option, the Microsoft FrontPage Extensions
option must be disabled. If it is enabled you must use your version of Microsoft FrontPage to protect the directories. If the Microsoft FrontPage Extensions option is enabled, you will not have access to the Redirect URL option.
1. How do I setup Redirects? - Top
Redirecting allows you to send the user to, for example, 'new.html' when they attempt to access 'old.html
To see this example in practice, simply add the following line (This should be typed as one
single line without breaks) to the '.htaccess' file:
Add redirection to other files by repeating this process.
4. What are .htaccess files? - Top
Important Note: Do not edit the .htaccess file if you are using MS Frontpage!
Frontpage uses the .htaccess file, and editing it may cause errors in your configuration.
The .htaccess file can be placed in one or more of your /home/username/www
subdirectories. Among other things, this file can be used to restrict access to other files and web pages.
When a request for a web page is made, the web server first checks for an
.htaccess file. The server begins this check by looking for .htaccess in the root of the current web directory, and on down the directory tree until it reaches the the
directory where the requested file resides. Since the placement of the .htaccess file determines when it is executed, this fact can be used to restrict access only in certain subdirectories.
To create an .htaccess file, make a text file as described below and upload it as ".htaccess"
Except for the first function, these will only work for an .htaccess file placed in $-www. Add whichever functions you want to the same file.
Removing URL Redirection
To remove redirection from a specific URL, just reverse the process by removing the entries you made to the .htaccess file