Ok problem solved. Turns out in the root directory there was an .htaccess that was blocking bots but when you choose to Edit that file in File Manager, it shows a blank slate (ie. no code) and the only way to see the code and realise that it's actually not an empty file is to View it instead of Editing it. VERY strange. Thanks for the help!