S I T E  S E C T I O N S

Home
Sales
Dedicated Servers
Reseller Hosting
Virtual Private Server
Web Hosting
Support
articles
Site Design Quote
Privacy

S E C T I O N S

cpanel demo
Nameserver demo
WHM demo
Hosting Manual
Getting Started
Agora Shopping Cart
Anonymous ftp
Backup Manager
CGI Setup
CGI Centre
MS Frontpage
Ftp Help
Change Password
File Manager
Form Mail
Email
Mail List
Mime Types
MySql
Network Tools
Path Information
PGP Email
PHP information
_Directory password
Search Submit
Secure Server
SSH Telnet
_Server Side Include
Stats Overview
URL Redirection
Java
Control Panel
FAQ
Web Resources
Internet Security Alerts

URL Redirection

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

Example:

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 instead.

Note:

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:

    Redirect /directory/old.html
    http://yourdomain.com/directory/new.html
     
      


    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 

[Home] [Web Hosting] [Reseller Hosting] [Virtual Private Server] [Dedicated Servers] [Sales] [Support]

Please contact our Webmaster with questions or comments.                          
©Copyright 2000 Arachno Net  All rights reserved.