Support » Everything else WordPress » wp-cli import – media?

  • justin-bigscoots



    Trying to avoid timeout issues importing via WP so will be using wp-cli.

    wp import all.xml –authors=create

    Works however its not pulling any media, how can I use wp-cli to import media for each post as well?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • widowselina



    WP CLI also downloads the media automatically (with your import command).

    The problem may be different. Does your all.xml file contain media files? Are media files available?

    So the attachment in the all.xml file is:

    Is this link available?

Viewing 1 replies (of 1 total)
  • The topic ‘wp-cli import – media?’ is closed to new replies.