Home Forums How to fix WordPress Importer missing images when import demo data?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4273

    Hi all customer,

    In this topic we’ll help you fix the issue missing images when import demo data.

    Almost case you can import demo data follow this topic:

    How to import Demo Data Automatic in HaruTheme

    or

    How to Import Demo Manual WordPress theme

    1. Some reasons cause images missing when import

    The server (the one that you want to import to) does not allow the connection to our server, where the images are hosted.

    Your server doesn’t have enough space.

    You are using a cdn for hosting the images like cloudflare.

    You are using custom upload folder.

    The images have name with special character like č,š,ž, etc…

    2. How to fix missing images when import

    2.1. The best solution is contact your hosting provider check it for you when error happen. You can see error message when use manually import method.

    2.2. You can go to file functions.php in our theme and add this code:

    add_filter( 'http_request_args', function( $r, $url ) { $r['headers']['Accept-Encoding'] = 'identity'; return $r; }, 10, 2 );

    Then you can use this plugin to reset database and import demo data again:

    WP Reset – Best WordPress Reset Plugin

    Hope this help you and thanks for reading!

     

    ****

    Best regards,

    HaruTheme

    Reference:

    https://wordpress.org/support/topic/images-missing-after-import/

    WordPress Importer plugin Content-Length problem solved

     

     

     

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.