[Typo3] install directory

Michael Stucki michael at typo3.org
Sat Apr 23 17:10:35 CEST 2005


Daniel Doesburg wrote:

> Make in your root dir a simlink index.php to typo/index.php

Of course not! This will break all references to fileadmin/ (which should be
typo/fileadmin/ then, etc.).

In my opinion the best practice is to redirect any page which is not found
in the root folder to your TYPO3 installation:

Add this content to a file ".htaccess" and place it in your website root:

--- cut ---
# Enable the RewriteEngine
RewriteEngine on

# Default redirection
RewriteRule .* /typo/ [R]

# Additional redirection for subdirectories/files/ which are not found.
ErrorDocument 404 /typo/index.php
--- cut ---

By the way, don't call TYPO3 to be a "typo", it wouldn't deserve this, does
it?! ;-)

(TYPO3 is the product name, not the version!)

Regards, michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list