In WordPress, you can clear up a lot of problems by simply re-saving the permalinks. Go to Settings → Permalinks, scroll to the “Save Changes” button and click it. (You don’t have to make any changes, just click to save.)
It is just like restarting your smartphone or laptop.
In most cases, re-saving the permalinks solves the issues, if :
- You can access wp-admin but the public part of your site is blank.
- You can view your front page but when you click on any posts/pages/archive it’s all blank.
Re-saving permalinks can solve a few other issues as well. But the above two conditions are the most common ones I’ve heard of. This solution cannot be implemented when you’re unable to access the site’s admin area.
Most commonly these problems can occur after you’ve made huge changes to your site or after you’ve migrated a site to a new server or sometimes, it can just happen.
If you had just moved your site & had wp-cache running, and are getting a blank page; a particular line in
wp-config.php may be causing the problem. If resaving permalinks doesn’t help go into wp-config.php & delete the line that says it was added by wp-cache, something like:
define('WP_CACHE', true); //Added by WP-Cache Manager