Delete Unused Post Revisions

Post revisions are a WordPress feature that allows you to undo changes and go back to an earlier version of your posts and pages, it works by auto-saving every 60s while you edit content. Since revisions can take up a lot of space in the database, it is a good idea to delete them. or You … Read more

Save database queries for analysis in WordPress

The SAVEQUERIES wp-config constant saves database queries to an array and We can use that array to display queries. The information saves each query, what function called it, and how long that query took to execute. To enable SAVEQUERIES add this to the wp-config.php file: Then in the footer of your theme put this: <?php … Read more

How to access WordPress using temporary server URL

We occasionally find ourselves in a situation where we need to test the website first, then point the domain name if everything is in order. To achieve this there are multiple ways: Edit Hosts file on your local computer Use online service such as skipDNS Access WordPress using temporary server URL In this guide We … Read more

How to change domain name for a WordPress website (5 ways)

Want to change the domain name for your WordPress website? No problem, in this guide We’ll walk you through 5 different methods to change the domain name for a WordPress website from cPanel PHPMyAdmin. Before following this guide make sure you’ve down the following: registered the desired domain name and pointed it towards your hosting … Read more

How to enable WP_DEBUG in WordPress

WP_DEBUG option controls the reporting of some errors and warnings and enables use of the WP_DEBUG_DISPLAY and WP_DEBUG_LOG settings. In this quick tutorial I will show you how to enable the WP_DEBUG feature and output the results to a log file. Enable WP_DEBUG in wp-config.php Edit the wp-config.php file, find this line and change the value … Read more

Can’t Add or Install Plugins in WordPress

Q: Why can’t I add plugins in WordPress? A: The following code was added to wp-config.php file that disables file editing and uploading. Simply remove these files from the wp-config.php file and then refresh the wp-admin page.

✅ How to Increase Maximum Upload File Size in WordPress [SOLVED]

Here is How to Increase Maximum Upload File Size in WordPress: Increase Maximum Upload File Size using the .htaccess file Change the numbers to the values that you need: Increase Maximum Upload File Size using wp-config.php Open up your wp-config.php file and add the following code inside: Increase Maximum Upload File Size in WordPress using … Read more

Why is ?doing_wp_cron being added to my URLs

WordPress background processing tasks such as publishing scheduled posts, backups or auto-updates may append ?doing_wp_cron to your URLs. Most common plugins that cause this issue are: All-In-One WP Migration and UpDraftPlus Backups. Disable doing_wp_cron in URL using wp-config.php To remove ?doing_wp_cron from URLs using the wp-config.php file simply edit the file and remove the line containing: Disable … Read more