• Resolved bexley

    (@bexley)


    Hi, I’m re-building my wordpress site offline. I have a fresh install on my laptop that i am using to develop the new site with new theme etc…

    I have successfully exported and then imported my posts but despite me checking the “download and import file attachments” box, it has not done that at all.

    All of the images in my imported posts are still linked back to my old site.

    This is a large problem.

    I have seen various other posts from people facing the same challenge but they all seem to be closed with no solution.

    Can anyone help shed light on how i can export my media library and import it to my new wordpress install?

    Thanks loads
    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    how did you export?

    Thread Starter bexley

    (@bexley)

    OK i think i have partially solved this now.

    I exported only my ‘posts’ via the tools>export option in the dashboard.

    This did not copy the images and stuff over despite me ticking the checkbox. Blatantly a bug.

    What i then did was to do a full export, again via the tools>export in the dashboard (and tick the box)

    Ok, so then when i tried to import it told me that my php.ini had a 2M file size limit and failed to import.

    I edited my php.ini to sort that out but it still did not work so i added this to my .htaccess

    php_value upload_max_filesize 50M
    php_value post_max_size 50M
    php_value max_execution_time 500
    php_value max_input_time 500

    and then it worked.

    It’s busy downloading it all now.

    Cant believe how much of a faff that was but alls well that ends well.

    I hope this helps the next person to discover this rather large problem.

    I’m glad i found out about it during a planned upgrade and not while trying to recover from a server failure or something. This bug could well extend your outage by hours and hours

    Moderator t-p

    (@t-p)

    This did not copy the images and stuff over despite me ticking the checkbox. Blatantly a bug.

    Export Tool exports your WordPress data only (posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies, and users), no image.

    Thread Starter bexley

    (@bexley)

    Once imported, it is supposed to download your attachements (media) from the old site. That is why has has a checkbox saying that it will do that.

    It had now actually done that but only if you export everything – pages, posts, categories etc….

    I only wanted to export posts so now i have a lot of cleaning up to do but that’s going to take a lot less time than adding the media in again to each post by hand.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘how do i export my media library’ is closed to new replies.