With today's post I'm going to start profiling some hints and tricks for migrating an existing static website to a new site managed by a content management system. As it has been for the last few dozen projects I've worked on Drupal is the content management system of choice.
Background
The website in question started as a small collection of web pages. Early on (sometime before I got involved) the choice was made to use server-side includes to provide a semblance of control on the design. Over and over files were created and pages added. According to Google there are now roughly 2,600 entries for this site in their index.
In the early days of the site there was a dilemma. Since there was no content management system where people with information could make it available to users they had to send it to the webmasters. This quickly becomes a resource drag and the information suppliers are then told to put their information in PDF documents. With this history, the one-page PDF is more common than it should be. Much feared, the one-sentence PDF also makes frequent appearances.
The need for some automation drove the connection of several Microsoft Access databases and a small number of PHP scripts. With several processes left half-baked what should have been a help offered little assistance. Instead of posting a single-sentence PDF directly, the process grew into a series of e-mail the PDF, a webmaster posts the file and copies and pastes several entries into an Access database. Since that didn't cause enough problems there is then a step of FTPing the Access database to the server. The server uses ODBC connections to other data sources, but for this particular process they were never setup.
To say this is the migration of a website is really to underestimate the magnitude of the project. The project will simultaneously combine several websites and provide better access to all of them.
Next up I'll share how a careful installation of Drupal with a few tweaks allows for side-by-side operation of the sites.