How to Allow 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.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *