[TYPO3] htaccess redirect of typo3 pages

Oliver Rowlands oliver at liquidlight.co.uk
Tue May 22 11:00:14 CEST 2007


Hi Michael,

Try the following:

RewriteEngine On
RewriteBase /

RewriteCond %{QUERY_STRING} ^id=2$
RewriteRule ^index.php$ /test/test.html? [R=301,L]

If you need to create more I would recommend using a mod_rewrite 
redirect map instead.

Best regards,

Oliver

newsletter at elixic.de wrote:
> Hi Typo-Guys,
> 
> I need your help and hope you can help me.
> 
> I want to setup redirects at the htaccess but it doesnt work.
> 
> How I can setup permanent redirects for this url at my htaccess:
> www.example.net/index.php?id=2
> 
> And I want to redirect the url to this:
> www.example.net/test/test.html
> 
> 
> Thanks alot in advance!
> 
> Many regards
> michael
> 
> 


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


More information about the TYPO3-english mailing list