WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Importer
[resolved] selective import from WP 2.7 to WP 3.3.1 (2 posts)

  1. rcain
    Member
    Posted 2 years ago #

    Hi,

    I am trying to import content from a customer's old site (based on WP2.7) to a new site based on (WP3.3.1).

    Also, I ONLY want to import the posts and comments, I do NOT want to import categories or tags (since the new target taxonomy is different and I intend to re-categorizing old posts as a separate task).

    My questions are:

    1) should the wordpress-importer plugin handle these versions OK?
    2) should it be possible simply to comment out the lines (113-115) in wordpress-importer.php responsible for categories tags and terms - thus leaving import of posts only?

    ie. comment out:

    ...
    		$this->process_categories();
    		$this->process_tags();
    		$this->process_terms();
    ...

    but leave:

    ...
    		$this->process_posts();
    ...

    should this still work/achieve what I'm after?

    any advice/guidance very gratefully received. thanks.

    http://wordpress.org/extend/plugins/wordpress-importer/

  2. rcain
    Member
    Posted 2 years ago #

    OK.

    I've solved the second question at least: answer is to use the old 'advanced export plugin' :

    http://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/

    - allows exclusion of categories, tags, pages, etc - enabling posts only to be exported.

    note: this plugin also solves another problem i discovered where native export was truncating the export file at around 10MB.

    (don't yet know whether they'll import ok - i shall find out soon enough).

    hope this is a help to someone sometime.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic