How to Allow Automatic Database Repair

Automatic Database Repair

WordPress is a giant platform that allows its users lots of advantages by providing multiple features & functionalities. One of them is automatic database repairing. But by default, the feature is turned off.

Automatic Database Repair

To enable this feature you just need to add a little bit of changes in your code. Add the following line to your WordPress configuration file.

define(‘WP_ALLOW_REPAIR’, true);

Next, you have to visit the repair.php file through your URL in order to optimize and repair the WordPress database. For instance,

Here, means your site or respective site. The will be replaced by the respective site domain.

You don’t just need to log in again to make sure about the repairing. It’s pretty cool and simple.

Hopefully, this pro-tip was helpful. Find more Pro-tips here.

Sazzadul Bari

Hi, this is Sazzadul Bari, Digital Marketing Strategist at WPManageNinja. SEO content writing, outreaching, link building, and lead generation are my specializations. And when I am not drooling over WordPress plugins and updates, you'll find me enjoying sports or going through my favorite books.

Leave a Reply