Quote:
My intention was that anyone using an old bookmark with index.html would seamlessly arrive at index.php, and that is what happens. I just thought there was a more elegant method that did the redirect and at the same time informed the search engines that it was a permanent move (301). I just made that one up so figured it must be wrong.
There is a more elegant method, and that's exactly what I did above, using PHP and/or .htaccess, at your convenience.
Quote:
Is there some kind of hierarchy in Apache that causes it to give preferential treatment to certain file extensions? I can understand how a pure html file might be faster because it doesn't engage the php engine, but it seems odd that the very same file would execute faster just because of the .html extension, considering it does contain php.
If your file does actually contain PHP then the PHP won't work. I thought these were plain HTML files that you had renamed to .php in order to get consistent URLs.