[Typo3] domain redirect

Matt Valenti mv at mattvalenti.com
Tue Feb 8 05:17:51 CET 2005


I thought this would be trivial but I can't work it out!  I have my main 
domain www.TrafficDocumentary.com and I want it to go directly to my home 
page.  http://www.trafficdocumentary.com/typo3/index.php?id=6  I simply 
setup a meta refresh in my index.htm file like so:

<meta http-equiv="refresh" 
content="0;URL=http://www.trafficdocumentary.com/typo3/index.php?id=6">

but I've had reports that this sometimes causes a "page not found error". 
Apparently, a server side redirect is more robust.  So I tried using various 
commands in .htaccess like:

RedirectMatch temp ^/$ 
http://www.trafficdocumentary.com/typo3/index.php?id=6

but this doesn't work because of the "id" parameter.

So I'm stumped.  How do I setup a server side redirect?  Any help would be 
much appreciated! 





More information about the TYPO3-english mailing list