• Resolved billerby

    (@billerby)


    Hi!

    Exported my https enabled site to a file. Launched a new instance on aws and reattached the ip to the new instance. Enabled ssl on the new instance. After this was done I did the import with your plugin.

    This results in the site beeing listed as insecure by chrome due to mixed content http and https from my site. Solved that on the website by changing hardcoded links in the pages (those were https before export/import).

    Worse is that a very important plugin stopped working in the admin part. In the javascript console I get the following message: (the page is blank)

    admin.php?page=cp_apphourbooking&blocktimes=1&cal=1&r=0.5085871471656318:1 Mixed Content: The page at 'https://rostfabriken.se/wp-admin/admin.php?page=cp_apphourbooking&blocktimes=1&cal=1&r=0.5085871471656318' was loaded over HTTPS, but requested an insecure stylesheet 'https://rostfabriken.se/?cp_cpappb_resources=css&ver=5.5.1'. This request has been blocked; the content must be served over HTTPS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter billerby

    (@billerby)

    This is really interesting (and annoying). Inspected the sql-backupfile after a successful extraction. In the wp_posts and wp_postmeta I am looking at id=17 which is the startpage where I got mixed content for an image according to the chrome inspector after import.

    However in the backupfile the img-src is prefixed correctly with https. So something in the import process replaces the ssl-one with a plain http. I guess I must have something in some configuration that tells your plugin to do this replacement? Interested in how the url:s are calculated in the import routine? Could you point me in the right direction somehow?

    Thanks!
    /Erik

    Plugin Author Yani

    (@yaniiliev)

    The plugin is using site and home urls to determine the protocol in-use.
    It might be that something is redefining them on the site.
    Check your wp-config.php and functions.php in your theme folder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with mixed content after import’ is closed to new replies.