Knowledge base
Redirects

Htaccess uses redirect to look for any request for a specific page and if it finds that request, it forwards it to a new page you have specified:
Redirect /olddirectory/oldfile.html http://yournewsite.com/newdirectory/newfile.html
Note that there are three parts to that, which should all be on one line: the Redirect command, the location of the file/directory you want redirected relative to the root of your site (/olddirectory/oldfile.html = yournewsite.com/olddirectory/oldfile.html) and the full URL of the location you want that request sent to. Each of the three is separated by a single space, but all on one line.
You can also redirect an entire directory by simply using:
Redirect /olddirectory http://yournewsite.com/newdirectory/
Using this method, you can redirect any number of pages no matter what you do to your directory structure.
Categories
Getting started:
Cpanel control panel:
- How do I access my control panel?
- How do I access the Fantastico auto-installer?
- Awstats: Error: LogFile parameter
- Access your Cpanel before your domain has propagated
- Cron jobs: what are they, and how to use them
Webhost manager (WHM):
- Do not change the username or domain name for any of your domains
- Always let WHM finish the current process
- Do not use hyphens or underscores in usernames
- Access all accounts with the WHM password
- Setting strong passwords
Questions and tips:
E-mail:
- Blocking all mail to an e-mail address
- What are the SMTP and POP server addresses?
- Mailing lists: limits of usage
- What happens to e-mail when the server is down: is it returned to the sender or lost?
- How do I access webmail for my account?
Domains and DNS:
FTP and files:
- What are the FTP timeout settings?
- The public_html and www directories
- What is the maximum number of FTP connections per user?
- What is the max number of files/directories I can display in FTP?
- File permissions explained
Htaccess magic:
CGI, PHP and Perl:
- What is the path to..?
- Formmail: important notes
- ImageMagick
- SuExec: what it is and how it affects your scripts