kevinleary.net

Handling Large WordPress Import/Export Files (WXR)

If your hav­ing issues import­ing a large (more than 20MB) Word­Press XML File (WXR) you can fix it by increas­ing the amount of mem­ory PHP is allowed. Here’s how:

  1. Open up your wp-config.php file
  2. Add the fol­low­ing line:
define('WP_MEMORY_LIMIT', '96M');

The WP_MEMORY_LIMIT option allows you to spec­ify the max­i­mum amount of mem­ory that can be con­sumed by PHP.

1 Comment

  1. Valuable Internet Information » Handling Large WordPress Import/Export Files (WXR) | kevinleary.net / 7.6.09 / 2:09 PM

    […] More: Han­dling Large Word­Press Import/Export Files (WXR) | kevinleary.net […]

Leave a comment

will not be published

Wrap code blocks with <pre lang="LANGUAGE" line="1"> and </pre> where LANGUAGE is a GeSHi supported language syntax.