• WP 4.1
    No posts, and only 8 pages to export.
    No large images.
    Using default theme.
    No plugins installed (deleted default plugins too)
    Using Bluehost.

    When I click the ‘download export file’, it kicks me to the HOME page and no file is downloaded. I’ve worked with WordPress for quite a few years nave have never seen this problem.

    I have two installations of WordPress on the same bluehost webhosting package. They are under two different domains. The problem is happening on both websites.

    I have a third website of WordPress on the same bluehost webhosting, and it has the plugin iThemes Security (formerly Better WP Security) installed. Again, this website also has it’s own domain.

    Each website has it’s own folder, own .htaccess file, etc.

    Tried closing my browser and opening.
    Tried clearing my browser cache.
    Tried multiple browsers including Firefox and Chrome.
    Tried on multiple browsers on multiple computers.
    Tried switching default themes from twenty fifteen to twenty fourteen.

    All produce the same problem of being redirected to the HOME page for the website I’m editing when I click the ‘Download Export File’ button. I’ve also tried limiting the export data to ‘pages only’. Still the same problem.

    Any ideas? I’m absolutely stumped, nor can I find anyone with a similar problem using google or forum search. Rest of the website and all other parts of WordPress appears to be working just fine, as normal. No errors being produced.

Viewing 1 replies (of 1 total)
  • Might be worth checking the webserver error_log.
    Otherwise run a test export using PHP cli (command line interface).
    First create a script like (export_test.php):

    <?php
    $_SERVER[‘REMOTE_ADDR’]=’whatever’;
    require_once(‘[WP install location]/wp-load.php’ );
    require_once(‘[WP install location]/wp-admin/includes/export.php’);

    ob_start();
    export_wp();
    $file = ob_get_contents();
    ob_end_clean();

    $fh = fopen(“wordpress-” . date(‘Y-m-d’) . “.xml”, ‘w’);
    fwrite($fh, $file);
    fclose($fh);
    ?>

    Then TEMPORARILY set WP_DEBUG constant to true in wp-config.php:
    define(‘WP_DEBUG’, true);
    (Don’t forget to set it back to false if this is on a production env!!)

    Then execute the following command (You’ll need shell access for this):
    php [path]/export_test.php

    The resulting wordpress-2015-01-17.xml file might tell us at what point it fails …
    You might even get an error displayed which points you in the right direction …
    If you wish you can email me the resulting wordpress-2015-01-17.xml file and I’ll have a look at it …

    dwinden

Viewing 1 replies (of 1 total)
  • The topic ‘Download Export File button not working’ is closed to new replies.