If you want to increase the WordPress memory limit, you can use one of the following methods:
1. Increasing memory limit through "wp-config.php":
Please go to the root directory of WordPress and open "wp-config.php". Then find the line that has "WP_DEBUG" and add the following code after it:
- define('WP_MEMORY_LIMIT', '128M');
2. Increasing memory limit through "PHP.ini":
Please go to the root directory of WordPress installation ( where the wp-config.php file is located ) and look for “php.ini” file ( if it’s not there, create a new one ) and add the following code:
3. Increasing memory limit through the .htaccess file.
Some servers accept “.htaccess” file modification. Please go to the root directory of WordPress installation ( where the wp-config.php file is located ). Usually, you will find that file, but if you couldn’t, please read the following
StackOverflow question.
You can add following code to .htaccess file:
- php_value memory_limit 128M
4. If none of those methods worked, you should contact your host administrator to increase the memory limit.
Related Articles
WordPress - Revisions
In this article, we will show how to use revisions on WordPress. Revision is a feature that allows you to undo changes and go back to an earlier version of a post or a page. For using this feature follow these steps: 1. Login to the Wordpress ...
WordPress - How to Reset my WordPress Website?
We are going to use WordPress reset plugin for doing that. Before we start, you should know that: After reset, all website content including pages, posts and media and all settings will be deleted. Plugins and theme will not be deleted, but you ...
WordPress - How to Disable Comments
In this article, we will explain how to disable comments on the whole website. 1. Navigate to the WordPress dashboard >> plugins >> Add new 2. Install and activate the file manager plugin 3. Open file manager plugin from WordPress dashboard. ...
Wordpress - link you followed has expired
In this article we are going to present a solution when theme installation issue happens with following error "link you followed has expired" This issue mostly happens due to your website host configuration , two major parameter which should be ...
Contact Form7 - recaptcha
In this article, we will explain how to add captcha to the contact form7. To get started, you need to have a Google account. If you don’t already have one you are comfortable associating with your website, get one here. 1. Once you have your account ...