We recently had a client who experienced a WordPress site suddenly not working. It was loading a blank white screen in Firefox and a 500 Error in Google Chrome. Now if I know a bit of HTML and CSS but if my WordPress site is not loading, how do I fix a white screen on a WordPress website?
- Open your wp-config.php file, add these lines near the middle of the file.
- This outputs the files to debug.log in the /wp-content folder.
- Visit you site again, and now error is written into /wp-content/debug.log.
- The resulting error with TimeStamp will tell you the exact location and a list of reasons why WordPress is not loading.
In this case, for this client, there was an accidental deletion on a character in the functions file.