• Resolved Matt

    (@pmtt1227)


    Working with a multisite subdir installation, making API calls.

    Command line:
    wp import wordpressFile.xml –user=1 –authors=create –url=www.mymuliti.com/site5

    user 1 is superadmin.

    The wordPressFile.xml was created using GUI from another multisite. The import works fine at the top level https://www.mymulti.com, but when I try to press the xml onto /site5 I get an error: WordPress Importer needs to be activated. Try ‘wp plugin activate wordpress-importer’.

    So then I take the suggestion.
    Command line: wp plugin activate wordpress-importer

    Throws back the unhelpful result:
    Warning: Plugin ‘wordpress-importer’ is already active.
    Success: Plugin already activated.

    A repeat of the import after this warning still fails.

    All this is being done through ssh terminal naturally.

    • This topic was modified 4 years, 9 months ago by Matt.
Viewing 1 replies (of 1 total)
  • Thread Starter Matt

    (@pmtt1227)

    Got it! Nothing like posting to an open forum to clarify your own question and enable you to find the solution yourself.

    Command line: wp plugin install wordpress-importer –activate-network does the trick.

    Many thanks to John Oleksowicz:
    https://johnoleksowicz.com/importing-a-wordpress-site-into-multisite-with-wp-cli/

    Others please lead me to command references that would have shown this option!

    • This reply was modified 4 years, 9 months ago by Matt.
    • This reply was modified 4 years, 9 months ago by Matt.
    • This reply was modified 4 years, 9 months ago by Matt.
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite/dir import: Importer plugin not activated’ is closed to new replies.