Added loads of stuff
Added back rewrite rule as we need if for things like IFTTT which expect the .php