WP MEMORY LIMIT vs WP MAX MEMORY LIMIT - WP_MEMORY_LIMIT vs WP_MAX_MEMORY_LIMIT

WP_MEMORY_LIMIT vs WP_MAX_MEMORY_LIMIT

In short: WP_MEMORY_LIMIT is the default limit set for the front end, but it can be raised up to WP_MAX_MEMORY_LIMIT in wp-admin pages. WP_MEMORY_LIMIT WP_MEMORY_LIMIT allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of X … Read more

List of all WordPress Constants UPDATED - List of all WordPress Constants (UPDATED)

List of all WordPress Constants (UPDATED)

WordPress.org has a list that explains the default and most commonly used wp-config.php constants. But there are many more constants that are not covered in this guide and can only be found when browsing the WordPress core itself. Here I will do my best to list all WordPress constants, and keep the list up to … Read more

Move wp config outside the web root directory - Move wp-config.php outside the web root directory

Move wp-config.php outside the web root directory

I recently did a guide on 5 (Less known) WordPress Security Tips to keep your website safe from hackers where I suggested moving wp-config.php outside the web root directory as a simple change that adds an additional layer of security to your WordPress website. The wp-config.php file contains your MySQL database username & password, along with … Read more

delete wp post revisions - Delete Unused Post Revisions 🛠️✔️

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

SAVEQUERIES 0Awp content constant - Save Database Queries for Analysis in WordPress

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

temp link wp - How to access WordPress using temporary server URL

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 a doamin name wordpress - How to change domain name for a WordPress website  (5 ways)

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

wp debug - How to enable WP_DEBUG in WordPress

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

cant edit plugins - Can’t Add or Install Plugins in WordPress

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.

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

✅ 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