GoDaddy Help

Increase the WordPress memory limit

While working on your site, you may run into an issue that asks you to increase the WordPress memory limit. The easiest way to accomplish this is by editing your wp-config.php file.

Warning: You should always back up your site before making changes to the wp-config.php file.
  1. Access your WordPress files.
  2. Locate the file wp-config.php in the root directory or folder.
  3. Double-click the wp-config.php file to open it.
  4. Select Edit.
  5. Find the following line:
    /* That's all, stop editing! Happy publishing. */
  6. Right above the line in step five, add this code:
    define('WP_MEMORY_LIMIT', '256M');
    wp-config.php increase WordPress memory limit
  7. Select Save.

You have successfully increased the WordPress memory limit.

More info

Share this article