You are here: Re: .htaccess route to php on .html « All PHP « IT news, forums, messages
Re: .htaccess route to php on .html

Posted by Michael Fesser on 09/08/07 23:33

..oO(J.O. Aho)

>Michael Fesser wrote:
>
>> While parsing all .html for PHP might waste resources on a single
>> machine, a redirect wastes bandwidth (on a high-traffic site this
>> counts!) and resources on a thousand machines around the world. Browsers
>> have to send another request, search engines and proxys have to update
>> their caches.
>
>If you use a proper web server daemon, then you have other options than
>force the browser to make a new request.

If you change a URL, you have two choices:

1) Serve the same content with the old _and_ the new URL.
2) Redirect the old to the new URL with 301 status.

Anything else?

Micha

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация