For some stupid reason I didn’t change the permalinks on this site when I moved it from one server to another, this meant that when I did change it today most of the site wasn’t working. Arghhhhhhhhhhh

The only way so I did a search which lead me to this page at codex.wordpress.org. This page give out the basics of permalinks and a quick read of the page showed me that my virtual host coonfiguration for this domain in apache was missing some options.

This is what I was missing

<Directory /path-to-website/>
AllowOverride ALL
Options Indexes FollowSymLinks
</Directory>

Once I had added that and done the necessary “httpd -k restart” to pick up the new changes in the config it all came together and started to work.