🎉🎉🎉 Introducing Fluent Forms v3.0, Grab Lifetime Unlimited Site License with 50% Discount!Buy Now

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,

http://yoursite.com/wp-admin/maint/repair.php

Here, yoursite.com means your site or respective site. The yoursite.com 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

Sazzadul Bari is a digital marketing strategist at WPManageNinja and also the man behind BlogCD, specializing in content writing and lead gen. He loves to play with words and has a flair for writing on a variety of topics. He is an avid cricketer, a lover of everything entrepreneurship, and a keen reader of Francis Bacon's essays.

Leave a Reply