Site Update System
As metnioned previously, I’ve created a site updating “system”; perhaps better called a “method.” It involves having an offsite copy of my site’s source code which can be zipped up and uploaded via FTP to my live server. Once done, that file is then extracted, filling in the contents of my test server. Uploading the complete offline code to a live test server gives me the opportunity to check and make sure that any changes I have made offline will work once they hit the live server.
After I’ve got everything tested and ready to go, all I have to do is go and ‘flick the switch’, swapping out the live site’s content with the test site’s, and call it almost finished.
Up until now, I’ve had a problem at this point with WordPress’s caching system, or what I thought was a problem with WordPress’s caching system. My temporary solution for the problem was to go in and re-post one of my WordPress Pages, causing the whole cache to be rebuilt.
What I didn’t realize at the time was that it’s not the cache that’s been messing me up, but rather a missing .htaccess file that was causing WordPress to throw 404 File Not Found errors at me, whenever I did a site upgrade and tried to access anything through a WordPress PermaLink.
I am happy to say that that’s now been fixed. :) The appropriate .htaccess file is now copied over during the site-swap.
So it’s good news! Going forward, anytime I do a site upgrade or update, if you happen to be surfing through my site’s content, you won’t run into a mysterious File Not Found (404) error. (Or I certainly hope you don’t.) At the very least, you won’t run into them as a result of this problem. :)

Bradley Peters said,
February 23, 2006 at 10:58 am
And, now it’s much less likely that you’ll suffer a debilitating cardiac arrest from the shock of mysteriously breaking your live website. ;-)
Chris said,
February 24, 2006 at 11:25 pm
Which is definately a good thing. It’s a shame that it takes making mistakes to learn some things, but I guess that’s sometimes the best way to learn things “once and for all..”