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

Use mysql2date to convert date string obtained from the database into a readable date

Instruction: Parameter PARAMETER TYPE DESCRIPTION DEFAULT REQUIRED $format string Output can be PHP date format or Unix timestamp. no yes $date string mysql2date() only recognizes “Ymd H:i:s” format, so the original timestamp string needs to be converted to this format. no yes $translate boolean If true, the specified date and format string will be passed … 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 Manually Backup WordPress

A lot of WordPress backup plugins have limitations and are just pushing you to purchase the pro version. That is why I always recommend cperforming a manual backup of WordPress websites, whenever you can. How to do manually backup WordPress: Download all files from Filemanager or FTP Export the database from PHPMyAdmin How to Manually … Read more

How to Reset WordPress Password from phpMyAdmin Database

Locked out of your wp-admin area? Forgot the password? No problem, the easiest way to regain access is to reset your admin password from your database via phpMyAdmin. Step 1. Open PHPMyAdmin The first step is to log into your cPanel and under Databases select phpMyAdmin. Step 2. Select your database name From the left … Read more

How to clean up a hacked WordPress site (Complete Guide)

Is your website loading slowly? Redirects? Popups? Can’t login? Strange folders? Files with weird names? Huge number of failed/deferred emails that you didn’t even send? These are just some of the most common symptoms of a hacked WordPress website. If you are experiencing some of these problems – do not panic! In this guide, I’ll … Read more

Disable WordPress plugins via FTP or within PHPMyAdmin

Here are various ways to disable all WordPress plugins at once in cPanel. Disable all plugins via FTP or FileManager Step 1. Login to cPanel > File Manager Step 2. Open /wp-content folder Step 3. Rename /plugins folder to plugins.bak Disabling all plugins using PhpMyAdmin Step 1. Login to your PHPMyAdmin Step 2. Open your … Read more