[Typo3] Picking up old pages and redirects from an old site (.htaccess)

Mark Gillingham markgill at greatbooks.org
Sat Mar 5 00:05:28 CET 2005


I have an old static site built at the root of my (Apache) site. I have 
built (for better or worse) my new site at /typ (I couldn't bring myself 
to call it typo ;).

I have some old redirects that pickup key words and then redirect them 
into the old structure. For instance /myspecialevent would be redirected 
to /level1/level2/event4.html

If I make this typ of rule into my T3 folder, I lose important 
information for /typ/fileadmin (e.g., styles). At least I think that's 
what's going on.

I thought that another redirection command in my .htaccess file would 
solve this problem. The following one is illegal, but if I'm on the 
right track, I'd like help editing it.

# # I need to pick up /typ/fileadmin/ for redirects that are not in /typ
RewriteRule ^fileadmin/(.*)$		/typ/fileadmin$1  [R=permanet,L]

I have stylesheet links of the form:

<link rel="stylesheet" href="fileadmin/template/res/ext.css" 
type="text/css" media="screen, projection" />

and:

@import url(fileadmin/template/res/mypie.css); /*IE and NN6x styles*/



More information about the TYPO3-english mailing list