solution for .php braking millions of links to our pages?

Neil Stevens neil at qualityassistant.com
Wed Feb 5 13:10:20 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday February 05, 2003 05:00, Jason Bainbridge wrote:
> On Wed, 5 Feb 2003 20:47, Neil Stevens wrote:
> > On Wednesday February 05, 2003 04:39, Rainer Endres wrote:
> > > Is there any solution for the problem of the .php ending breaking
> > > all the links to our pages out there?
> >
> > Yes.  Rename them to html, and configure the server to handle html
> > files with the php parser.
> >
> > Hmm... Isn't www.kde.org already configured that way?
>
> Yes and personally that irks me no end, we shouldn't perpetuate a bad
> practice just as it is the easiest way to solve the problem.

Bad practice?  How is using "php" files a better practice than using "html" 
files?  Theoretically we shouldn't have anything appended to the urls.  
But if we're going to do it, it doesn't matter what ending we append, does 
it?

And don't you think breaking links is worse than being irked?

> Why not just a simple php wrapper script for 404 errors (can't remember
> off the top of my head how to do this but I have a site at work that
> does it) and then just have that script to take the referring page and
> redirect it by chomping the .html and and changing it to a .php?

If you're insist on using redirects, don't do it with a 404.  Redirect it 
in an .htaccess right in the directory.

- -- 
Neil Stevens - neil at qualityassistant.com
"Distinctions by race are so evil, so arbitrary and insidious that a
state bound to defend the equal protection of the laws must not allow
them in any public sphere." -- Thurgood Marshall
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+QQ08f7mnligQOmERAi6RAKCUzUH1NIfcZJtXNuYQeo330+Sd8ACeO8uH
jEwSQSqTd7ZZhfR3kIQyPuE=
=yAvA
-----END PGP SIGNATURE-----




More information about the kde-www mailing list