Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter davidak

    (@davidak)

    The content is what the webserver actually delivers on http://… because i use only https!

    So please support SSL!

    If the WordPress backend is actually opened with https:// the plugin should fetch https!

    (if i disable the redirect it works)

    Hi davidak,

    I thought I’d set up Simply Static so that it’d ignore redirects between http/https (and essentially treat them the same), but it seems like I might need to take another look at that. I’ve added a ticket to our bug tracker to investigate.

    Best,
    Scott

    Hi davidak,

    I tried this again with v2 of Simply Static and, even with a redirect from http to https, it was still generate a static site successfully.

    Have you tried using v2 of Simply Static? If so, and it’s still failing, can you enable debug mode (on the Diagnostics page), run Simply Static, and then email in the debug log? That’ll help me track down where you might be having issues.

    Best,
    Scott

    Thread Starter davidak

    (@davidak)

    [2017-01-25 20:35:51] [class-ss-fetch-urls-task.php:37] Total pages: 9; Pages remaining: 9
    [2017-01-25 20:35:51] [class-ss-fetch-urls-task.php:40] URL: http://davidak.de/personen/
    [2017-01-25 20:35:51] [class-ss-fetch-urls-task.php:50] URL is not being excluded
    [2017-01-25 20:35:51] [class-ss-url-fetcher.php:85] Fetching URL and saving it to: /var/tmp/php/davidak/1485376551-eZjJEi.tmp
    [2017-01-25 20:35:51] [class-ss-url-fetcher.php:96] Filesize: 300 bytes
    [2017-01-25 20:35:51] [class-ss-url-fetcher.php:111] http_status_code: 301 | content_type: text/html; charset=iso-8859-1
    [2017-01-25 20:35:51] [class-ss-url-fetcher.php:130] We weren't able to establish a filename; deleting temp file
    [2017-01-25 20:35:51] [class-ss-fetch-urls-task.php:149] redirect_url: https://www.davidak.de/personen/
    [2017-01-25 20:35:51] [class-ss-fetch-urls-task.php:189] Creating a redirect page
    [2017-01-25 20:35:51] [class-ss-url-fetcher.php:187] New filename for static page: index.html

    Also send the whole log via e-mail.

    Thanks, I’ll take a look at this.

    Best,
    Scott

    Hi davidak,

    I just noticed that it redirected from:
    http://davidak.de/personen/
    to:
    https://www.davidak.de/personen/

    So, not just http to https, but davidak.de to http://www.davidak.de (w/ www) as well. Simply Static presently treats non-www and www as different domains, so that’s causing your issue. If possible, for a short-term fix, I’d try switching your WordPress site to include the www, or switch the redirect to not include the www.

    For a long-term fix I’ll add a note to our development board to have Simply Static ignore transitions between www and non-www, similar to how it does for http to https.

    Best,
    Scott

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘only index.html generated’ is closed to new replies.