[TYPO3-english] Extension for 301 redirects

Oliver Rowlands oliver at liquidlight.co.uk
Tue Mar 24 14:30:31 CET 2009


Hi Sebastien,

I couldn't agree more with Dmitry: handling the redirections at the 
Apache level is far more efficient.

I wrote a small tutorial on how to set this up which you might find useful:

http://lists.netfielders.de/pipermail/typo3-english/2007-May/039509.html

Best regards,

Oliver

Dmitry Dulepov wrote:
> Hi!
> 
> Sebastian Gebhard wrote:
>>  Why did you build this feture into realurl?
> 
> I didn't, Kasper did. I never use this feature because it is highly inefficient. Just imagine how it goes:
> 
> - mod_rewrite redirects (my favorite):
> 	- Apache gets a request
> 	- mod_rewrite does a redirect to a proper location
> 
> - RealURL redirects:
> 	- Apache gets a request
> 	- mod_rewrite redirects to index.php
> 	- PHP calls TYPO3
> 	- the whole TYPO3 Frontend initializes
> 	- RealURL initializes
> 	- RealURL scans database for redirects
> 	- RealURL makes a redirect to a proper location
> 
> So with PHP/TYPO3/RealURL redirects you do much more work than necessary. And it takes much longer and loads the server more than it could. With mod_rewrite there is no need to call PHP (and TYPO3) at all just for making a redirect.
> 

-- 
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