Hi everyone …
I have a wp xml import file of some site content which I need to import into a new WP site I'm building.
However, the file is 35 MB in size and times out when I perform the import part of the way through …
I've gone into the PHP timeout settings and increased that to around 30 minutes – but still timesout.
So Is there a way to split the import file into small segments, making the import procedure less hassle free?
Thanks!
Have you tried importing through WP CLI? https://developer.wordpress.org/cli/commands/import/
If you don’t have access to that, you can try the WXR splitter here: https://www.isitwp.com/wxr-file-splitter/
The importer will automatically resume without creating duplicates. You can just run it four or five times without doing damage