[Typo3] domain redirect
Joshua Preston
jpreston at americatab.com
Tue Feb 8 05:35:25 CET 2005
Matt,
Personally, I use a simple index.php containing:
<?php
header("Location: http://www.mydomain.tld/typo3/index.php?id=6");
?>
But your mileage may vary.
Joshua Preston.
Matt Valenti wrote:
>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!
>
>
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
More information about the TYPO3-english
mailing list