WordPress always registers posts automatically at a certain time and keeps them in the old copy to be able to go back. Over time, this process takes up too much space on the databased and reduces the performance of your WordPress site. To do this, you can first write the following code and you can do this by adding our wp-config.php file. The wp-config.php file is in the WordPress main root directory….