Generating a static site with WP
-
Can I use WordPress to generate pages of static HTML? I ask because I volunteer as the webmaster for a nonprofit organization, and I recently installed wordpress to allow them to start a blog. I then moved the entire website over to wordpress in an attempt to make it easier for the organizers to manage the rest of the site by using WordPress pages.
However, since it’s on a shared server, the shared database server occasionally gets hosed. This causes the entire website to go offline, which is very very bad.
As a temporary fix, I downloaded all of the pages, cleaned them up a bit (I transcluded the navigation via SSI), and posted them as static HTML. This way, even if the database goes down, most of the site is still accessible.
However, this has of course created problems with updating the site. I’d like to keep having them use WordPress as a backend because it’s easy and keeps the code clean, but in order to do that I need to figure out a way to get WordPress to generate the static HTML pages. I can’t do it manually every time.
Does anyone know of a plugin or other hack that does this?
If it was hosted on one of my servers, I’d probably hack together a cron job that occasionally ‘refreshes’ the static pages via wget, but they have a hosting plan without shell access.
I really hope there’s some way to do this. I put a lot of work into the WordPress template and it would be a shame to have to move them to another CMS. I also don’t really like the prospect of them updating the static site with a WYSIWYG editor, as this tends to produce messy results. There goes my W3C Valid badge…
Anyway, if anyone has any advice or general wisdom on the subject, please send it my way.
- The topic ‘Generating a static site with WP’ is closed to new replies.