How to clear the Cache on Cloudways

Cloudways cache

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 Disallow: … 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 you 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 theme folder (if you have a … Read more

MySQL error token mismatch

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 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 Use: 100% and clear … Read more

Server out of space

server disk out of space

The website is using a lot of space on the server. The total disk usage of the server is 132G out of the 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 … 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. The … Read more

502 server error (Bad Gateway)

bad gateway error 502

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

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. The issue is generated due to a faulty SQL server setup (host to blame). Few solutions … Read more

Ubuntu not Detecting WiFi Adapter (Solved)

Ubuntu not Detecting WiFi Adapter

Easy solution that worked for me after numerous attempts to make my wifi adapter work in Ubuntu. You may follow the steps below and adopt my reliable solution if you prefer not to spend all your time looking for another solution. If your adapter is not recognized be prepared to spend enough time digging into … Read more