PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.php > .htaccess route to php on .html
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
.htaccess route to php on .html

Réponse
 
LinkBack Outils de la discussion
Vieux 09/09/2007, 00h11   #26
dorayme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: .htaccess route to php on .html

In article <8Z-dnWOEX6cql37bnZ2dnUVZ_rGrnZ2d@comcast.com>,
Jerry Stuckle <jstucklex@attglobal.net> wrote:

> It wouldn't have been necessary if the files had been named correctly in
> the first place.


You mean years back I got the names wrong? Guess my crystal ball
was not working right. <g>

> And the sooner a bad decision like this is corrected,
> the better it will be.


--
dorayme
  Réponse avec citation
Vieux 09/09/2007, 00h30   #27
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: .htaccess route to php on .html

..oO(Jerry Stuckle)

>Michael Fesser wrote:
>>
>> At least some months if you don't want to break old links. In theory it
>> should be kept forvever.

>
>Some redirects are unavoidable. And redirecting some pages for a few
>months is much better than wasting CPU cycles forever.
>
>Oh, and yes. Yahoo is SUCH an expert on these things. ROFLMAO!


I guess you didn't even read it. There are other reports on the net
available about the traffic caused by unnecessary redirects.

>>> It wouldn't have been necessary if the files had been named correctly in
>>> the first place. And the sooner a bad decision like this is corrected,
>>> the better it will be.

>>
>> Correct. No .php in URLs.

>
>No one else shares your views.


Wrong.

Micha
  Réponse avec citation
Vieux 09/09/2007, 00h33   #28
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: .htaccess route to php on .html

..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
  Réponse avec citation
Vieux 09/09/2007, 02h28   #29
Norman Peelman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: .htaccess route to php on .html

dorayme wrote:
> In article <8Z-dnWOEX6cql37bnZ2dnUVZ_rGrnZ2d@comcast.com>,
> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>
>> It wouldn't have been necessary if the files had been named correctly in
>> the first place.

>
> You mean years back I got the names wrong? Guess my crystal ball
> was not working right. <g>
>
>> And the sooner a bad decision like this is corrected,
>> the better it will be.

>


I do this:

..php for pages (or other output) generated entirely by PHP.
..htm for pages that may be a mix (possibly templates) of the two.
..html or .shtml for static pages.

....of course you can use whatever extensions you want for whatever you
want as long as you configure (apache for me) them properly.

Norm
  Réponse avec citation
Vieux 09/09/2007, 02h35   #30
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: .htaccess route to php on .html

Michael Fesser wrote:
> .oO(Jerry Stuckle)
>
>> Michael Fesser wrote:
>>> At least some months if you don't want to break old links. In theory it
>>> should be kept forvever.

>> Some redirects are unavoidable. And redirecting some pages for a few
>> months is much better than wasting CPU cycles forever.
>>
>> Oh, and yes. Yahoo is SUCH an expert on these things. ROFLMAO!

>
> I guess you didn't even read it. There are other reports on the net
> available about the traffic caused by unnecessary redirects.
>


Yes, I read it. A bunch of tripe.

Yea, more of your "experts"? It's someone's opinion. That's it. They
are not recognized by W3C, ICANN or even any major college or
university. IOW - they're completely without credibility.

>>>> It wouldn't have been necessary if the files had been named correctly in
>>>> the first place. And the sooner a bad decision like this is corrected,
>>>> the better it will be.
>>> Correct. No .php in URLs.

>> No one else shares your views.

>
> Wrong.
>
> Micha


OK, let me rephrase that. No one with any sense agrees with you.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h46.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09851 seconds with 13 queries