Hosting update: PHP index files now take priority

Hey Elements Hosters,

Just a heads up, we’ve updated our web hosting servers so that when a folder contains both an index.php file and an index.html file, the index.php file will now take precedence and be served first.

We made this change because when adding a component that requires PHP to function, RapidWeaver will prompt you to update the page extension (e.g. .html to .php), like so:

However, RapidWeaver Classic and RapidWeaver Elements do not automatically delete older files from your hosting account when publishing, which can result in unexpected behavior and warnings, as you shouldn’t have multiple index files in the same folder.

For most customers, no action is required. However, please keep this in mind when changing your page extensions from .html to .php or vice-versa. Going forward, the server will always serve an index.php file first if it exists in the page folder. If not, it will then serve an index.html file.

It’s always a good idea to clean up your website files from time to time to make sure there are no orphaned and outdated files remaining on your hosting account. :slightly_smiling_face:

If you have any questions, feel free to drop them in this thread.

As always, happy hosting! :heart_hands:

Yes - just ran into this….

Had to go in and clean out index.html for php to work…

Good advice!