How to clear the Cache on Cloudways
WordPress Object Caching is the process of saving query results of the database, so when a new request is generated, it is served from the cache memory to accelerate the completion of the request. WordPress is a Content Management System; hence, it relies extensively on a database. It means that your application database must be … Read more
How to Block Bot Traffic
Have you ever gone through your server logs and discovered those aggressive spiders that your servers at crazy request rates? Here is a quick list of known bots to be inserted into robots.txt User-agent: AhrefsBot Disallow: / User-agent: BLEXBot Disallow: / User-agent: Ezooms Disallow: / User-agent: MJ12bot Disallow: / User-agent: Majestic-12 Disallow: / User-agent: Majestic-SEO … Read more
WP Widgets now use Block Editor
The recent WordPress update changed the way to edit the widgets on this page: wp-admin/widgets.php Instead of having the classic widgets dashboard Read moreLoopback or REST API Request erroryou now work with a problematic block editor to manage the widgets To restore the old functionality that made sense just find the file functions.php in your … Read more
MySQL error token mismatch
MySQL error token mismatch when you connect to a database in PHPMyadmin. if the browser cookies don’t match the error: token mismatch comes up Read moreDatabase connection error Reasons that generate this error: 1. the /tmp directory is full. Run the command df -h on a server terminal, empty the directory contents when you find … Read more
Server out of space
Domain is using a lot of space. The total disk usage of the server is 132G out of 150GB disk limit. If you have access to a server terminal you may run df -i -h to check the directory (inodes) structure and how space is allocated. The number of inodes (linux systems) is critical, if … Read more
Loopback or REST API Request error
A typical message created from the server and sent to a WP owner: – – – REST API encountered an error The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages. Read … Read more
502 server error (Bad Gateway)
Bad Gateway errors originate always on the server, and contrary to the info you will find online, there’s nothing wrong with your website, your browser cache or cookies. For example, WP Engine runs a useless script (for webmasters) on its servers, called “Process killer” that steps in to cut any script running for 60 or … Read more
Database connection error
Very common error this one (Database connection error). What it means is, WordPress lost connection to its database, therefore it cannot pull any content or render the pages. The issue is of high severity and critical when it happens. Read moreMySQL error token mismatch The issue is generated due to faulty SQL server setup (host … Read more