If your having issues importing a large (more than 20MB) WordPress XML File (WXR) you can fix it by increasing the amount of memory PHP is allowed. Here’s how:
- Open up your wp-config.php file
- Add the following line:
The WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP.
About the Author
Kevin Leary is a freelance developer in Boston, MA with a strong portfolio of work, and over 13 years of experience as a programming consultant and digital strategy provider. Interested in working together? Hire me for your next project.