[TYPO3-english] mod rewrite redirecting when no language is set in url

Xavier Perseguers typo3 at perseguers.ch
Thu Feb 25 09:11:32 CET 2010


Hi,

> I've tried the following:
>
> # This does not work
> RewriteRule !^(en|nl|de)/(*) http://www.domain.com/en/$2 [L]
>
> # This DOES work
> RewriteRule !^(en|nl|de)/(*) http://www.google.com [L]
>
> # Default
> RewriteRule (.*) index.php [L]

Why did you write (*) instead of (.*) as second regex part?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list