Well, that was a complete waste of a morning. I managed to completely bork my site. And then slowly, step by step, unborked it. Which is a goodish feeling.