Support » Plugin: DsgnWrks Importer for Instagram » http versus https

  • Long time using dsgnwrks instagram tool at http://goedemorgen365.nl
    Every day we send a instagram picture towards the blog

    But I have an issue

    the site is running at http://
    99% of the imports go well, the image is imported and the embedded image is correctly seen when pressing to the page

    But ..
    1% of the imported pictures do get the https://goedemorgen365.nl link causing the image not being displayed within Chrome

    As the site is not running https I need to have a ‘fixed’ URL to be used http and not https..

    The ? is why the import 99% of the time is using the correct http:// link for the image at the website and 1% of the time is using a https://

    would be wonderful if that could be resolved.

    https://wordpress.org/plugins/dsgnwrks-instagram-importer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter aroundmyroom

    (@aroundmyroom)

    it has to do with
    **insta-image-link**
    99% its giving http:// (correct)
    1% its giving https:// (incorrect, not wanted yet)

    Plugin Author Justin Sternberg

    (@jtsternberg)

    That url is retrieved via the WordPress function, wp_get_attachment_image(), and it returning http/https is not something the plugin can control or would affect.

    Thread Starter aroundmyroom

    (@aroundmyroom)

    So actually you are telling me that wp_get_attachment_image() is getting its https from a user? even when I am not using https ..

    uhm…

    Thread Starter aroundmyroom

    (@aroundmyroom)

    RewriteCond %{HTTPS} on
    RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    let check if that will fix it

    Plugin Author Justin Sternberg

    (@jtsternberg)

    So actually you are telling me that wp_get_attachment_image() is getting its https from a user? even when I am not using https ..

    No, it has nothing to do with a user. It has to do with your site/WordPress configuration. Something in your configuration with your host or your site is set to https. Again, it has nothing to do with this plugin, as we are using WordPress functions to fetch the URL for the image source which is downloaded to your site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘http versus https’ is closed to new replies.