Automatic Database Optimizing Or Repair Database Automatically Of WordPress



wordpress5

Hi Friends, Somedays ago I was searching to optimize wordpress blog database optimizaation tips to improve performance of wordpress site. I got so many tips and plugins by which we can optimize database but finally I got one tip in which I came to know that WordPress itself providing “Automatic Database Optimizing” functionality by which database of wordpress site automatically optimized periodically without so much efforts.

So to start Automatic Database Optimizing in wordpress blog we just have to put one line in wp-config.php, So open wp-config.php file exists in wordpress site root directory and then put below line of code anywhere :

define('WP_ALLOW_REPAIR', true);

The script can be found at {$your_site}/wp-admin/maint/repair.php, So If you want to run it manually you can run it by go to http://www.yoursite.com/wp-admin/maint/repair.php.

Also Please Note: That this define enables the functionality, The user does not need to be logged in to access this functionality when this define is set. This is because its main intent is to repair a corrupted database, Users can often not login when the database is corrupt.

I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.

Also I am WordPress Developer, Freelance PHP Developer having more than 3 years of experience, So if you want to do any projects then you can contact me.

Hostgator Hosting in 1 Cent Coupon Code – “1CENTHECOUPON” (Without Quotes).

  • http://gurushala.net/download-panda-cloud-antivirus-1-9-1-beta-free/ suhana

    i started optimising my wordpress webiste ! thanks ankur for this great share!