You could always give it a try, i’ve imported around 300 posts at the same time before so, it shouldn’t be that big of a deal. You could try the following methods if you have problems with importing them all at once.
- Try re-defining WP_MEMORY_LIMIT and increase it to i.e. 1024MB
- Try increasing the max_execution_time (Check this link for more information)
- Try to split/chunk the array in a few different arrays and add a
usleep
after every iteration
Please note that within the foreach
$id = wp_insert_post()
will set $id
to the ID
of the Post/Page that is being added. If desired you can use this variable to add i.e. meta_values, thumbnails, etc.
Good luck!
Related Posts:
- Java Package Does Not Exist Error
- Where does the Media Library live in the database?
- How to import wordpress posts with images from one wordpress site to another?
- Failed to import Media
- What is the required format for importing posts into WordPress?
- WordPress Theme Options Import/Export
- How to add featured thumbnail into import XML?
- One Click demo content installation feature in WordPress theme options panel
- WordPress Import shows an error when uploading previously exported xml file
- How to re-Import the WordPress XML file after editing?
- Migrating WP site to another URL
- Import old SQL dump into new WordPress version
- Why shouldn’t @import be used to import a parent theme into a child theme?
- Import a very old WordPress Version into new WordPress
- WXR import problem — not including categories
- Moving a blog from Tumblr to WordPress
- Download/View Schema (or DTD) for XML Import
- Using the Importer on an IIS Server
- How to import a TypePad blog including all media?
- Easy way to import a post from Word?
- Convert WordPress.com embed links to normal embeds
- Importing large data from blogger
- Scrape data from a website and post it on the blog
- Importing custom post types using WordPress Importer, how to check for meta field values
- Is there a way to import Blogger into bbPress?
- WXR slicing script
- can’t import xml file
- Error: Failed to import tag/post
- Update Attached Image Size after Import
- Exporting and Importing WordPress Media Libraries and Galleries
- WordPress does not import all pages and post
- How to add more names in Baby Name Page?
- Batch attach unattached images
- How to access my wordpress via IP in shared hosting
- Is there a way to import a folder of HTML files into the blog?
- A question on WXR
- What is basic structure of xml for importing a page in wordpress?
- How to import content from WordPress.com to a self hosted WordPress installation?
- keep two blogs under the same domain
- In What WordPress Version Was the Import/Export Tool Introduced?
- how to import a custom website into WordPress
- Moving WordPress site to an existing WordPress site
- WXR xml files are being imported as a TXT files and showing up under ‘Media’
- WordPress WXR import – importing a large file
- Import HTML/JS post to WordPress?
- After imorting posts from another blog double line breaks have been replaced with single line breaks
- how do i import a site given that i have [domain].sql and a folder of site files? [closed]
- Export Users From Live Site to Import onto staging
- How to add biography of user while importing?
- How to import XML to WordPress as post and custom fields?
- Programatticaly Import Pages while Maintaining Hierarchy
- How to export a WordPress blog with no export function?
- Importing a database from a custom built CMS to WordPress
- Importing posts via MySql (a csv file) need to be automatically published
- Is there a way to show different source feeds on individual pages?
- Export WordPress from one domain to another domain
- Exporting by table
- automated import from blogger
- Error in importing wordpress xml [closed]
- How to import media from folder as opposed from old site?
- CSV Import Tables
- How to correctly move jquery script to external file
- Import function loses tags
- WordPress Import (CLI) returns Error Establishing a database connection
- WordPress xml import too slow
- Import WordPress content to my website
- Existing posts hidden after WP import
- Import large database in php my admin
- Request failed due to an error: (http_request_fail
- After importing items are not displaying
- import svg-files from wxr – (upload works, import not)
- WordPress All-Import to ATUM Stock Management
- Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure font ”
- How can I import a BlogML file into my WordPress site?
- WordPress importer – How to handle id clashes for featured images
- How to import several big Import XMLs?
- How to make bulk changes to wordpress posts
- Pull specific data from CSV
- Import demo data into wordpress template
- XML file import for attachments or featured images
- XML importing fails
- When migrating all backslashes were stripped and special signs are converted in html entities
- How to do one-off import or data migration?
- Import xml feed
- Importing many times to succeed
- Max execution time error with stream_body() in wp-includes/class-http.php
- Standard wordpress importer seems to be missing blog images
- Moving 2 wordpress sites to one
- Create CSV for import from File directories?
- Export and import all Plugin options
- Import data from file larger than 15 MB
- How to import individual blog posts into WordPress?
- Import post from Tumblr to WordPress [duplicate]
- Syndicate posts to another blog?
- Astra Site is not importing
- WXR? Export from Drupal 7 – import into WordPress
- WordPress Export/Import for custom options.php values?
- WP-all-import problems with large input file [closed]
- How to create import option for xml
- How to add featured thumbnail into import XML using URL image?