• Skip to primary navigation
  • Skip to main content

Thats Journal

  • Home
  • About
  • Digital Marketing
    • Affiliate Marketing
    • Branding
    • Content Marketing
    • Email Marketing
    • Marketing
    • Sales and Marketing
    • SEO
  • Social Media
  • Influencers
  • Resources
  • WordPress
    • WordPress Plugins
    • WordPress Themes
  • Sitemap
  • Contact Us
  • Show Search
Hide Search

Can’t Login In WordPress Admin, Posts And Pages Are Gone

admin · Oct 6, 2013 · Leave a Comment

If you see that in your WordPress blog there are no posts and pages or if you are unable to login to your WordPress admin section, or if there’s anything else happening with your blog which is not normal then, your WordPress database might have corrupted. To fix this, there are two methods:

1) From WordPress: Use FileZilla or any other FTP client and open file wp-config.php. It must be in path: public_html/wp-config.php

Then, add this line of code anywhere in this file:

define(‘WP_ALLOW_REPAIR’, true);

Open your browser, and go to: https://www.thatsjournal.com/wp-admin/maint/repair.php

Replace thatsjournal.com with your own domain name. Then, click on “Repair and Optimize Database”. When you are done, remove the above line which you added from the wp-config.php file.

2) From cPanel: Login to the cPanel of your blog. Go to: “MySQL Databases”. Then, click on “Repair Database”.

If you have a cPanel installed in your web hosting account then, I would recommend Method-2 always as it is faster than Method-1.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • More
  • Click to print (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Skype (Opens in new window)

Related

Download thousands of Themes, Plugins & Graphics to create your Website. Use promo code ThatsJournal and get an additional 10% off for All MonsterONE Plans.

Pro Blogging 404 error, blog, corrupt, cpanel, debug, Debugging, error, FileZilla, fix, FTP client, MySQL, Not Found, Optimize Database, pages, Repair, site, troubleshooting, Web Hosting, website

About admin

Thanks for dropping by! This post was published by the Editorial Team of Thats Journal. Follow us on our social media channels for current trends on Digital Marketing, Social Media Marketing and WordPress Themes.

Disclosure: Thats Journal is supported by our readers. This page may contain affiliate links. That means, if you click on these links to make a purchase, we may earn a small commission (at no extra cost to you). These funds help us to keep this blog up and running.

Categories

Subscribe via Email

Enter your email address to subscribe to Thats Journal and receive new posts by email.

Join 38,252 other subscribers

Join Our Community of 50,000+ Bloggers And Authors!

Reader Interactions

Leave a Reply Cancel reply

Copyright © 2023 Thats Journal