WordPress Pages & Posts not showing

If when you load the wordpress admin none of your pages & posts are showing, do the following:

  1. Edit wp-config.php and add
    define('WP_ALLOW_REPAIR', true);
    
  2. Open the database repair URL
    HOSTNAME/wp-admin/maint/repair.php

This should force an upgrade of the database. Remember to remove the line from wp-config after running the upgrade.

Leave a Reply