10 Tips How To Fix WordPress Blank Page
I got some WordPress problems with two websites that I lead with blank WordPress site that they show. Finally it works for me and now I want to share with you some tips about WP blank page problems. I have this CSS gallery that was offline since some time… what I mean wp-admin pages works fine but front page was blank. This bug was after i migrate to another hosting company. Finally I found time to fix that bug. All off that was on Google and some of those things was my original ideas and some of theme are people comments to this post.
When you see blank page with your WordPress blog you can use my tips to find bug and fix that annoying problem.
1. Turn off all plugins
If you have access to your admin panel you do it from there but if don’t you can always ‘ftp’ your website and move all your plugins to other directory so there will be no plugins active.
2. Change theme to another one (refresh/check)
Remember to turn off cache plugins if you use them, clear your cache.
3. Creates or/and update .htaccess file
You can browse it by linux console for example. If you don’t know how to use ‘ssh’ try to read a little bit on google about it. You can use free Putty software to ssh your files on server.
4. Edit and save post, permalinks…. stuff like that
Update your permalink structure. Just click update in WordPress, don’t change it to other structure, this can be really bad for SEO.
5. Update to newest version of WordPress
6. Check what PHP version you have
@Mittineague said: For PHP errors, I find the easiest way to trouble-shoot when developing a plugin is to make a direct HTTP request for the file. eg domain.com/blog_dir/wp-content/plugins/pluginfile.php
This way will show syntax errors and other PHP error messages.
When the file is OK PHP-wise, you will then see errors like
[WordPress-function name here] not found.
For incompatibility problems though, deactivating and reactivating is the best way, especially now that WordPress “sand boxes” and will show a “could not be activated” message.
And don’t learn the hard way. Back-up, back-up, back-up!
7. Check this out:
WordPress should compress articles (gzip) if browsers ask for them… in my situation this fix my blank page error
8. Check error logs
To find something interesting about your problem try to look for http error log and you will see there which file causes errors.
Edit wp-config.php file (which is WordPress main configuration file) and look for blank lines in the end, sometimes text editors add this line and it can broke WordPress installation.
10. Delete all Akismet spam comments
You can read more about it: Solution for WordPress blank admin page
Point 7 helps me with my CSS gallery.
In the meantime I generate problems with SilenBits and it was blank too….I’ve solved the problem using this fix: Change theme to another one (refresh/check)
So good luck and no WordPress blank pages for you !