• Resolved spabav

    (@spabav)


    Hi,

    using really simple ssl plugin our site runs fine in https.

    At second look, when we upload a NEW image to the Media Library, the image path shown is still https://…. and NOT https.

    We checked and https://… is set in the General Settings of WordPress for both WordPress address and site address.

    We run a debug on the really simple ssl plugin and here is what we got:

    —————————–
    Options:
    * WordPress redirect
    * Mixed content fixer
    SERVER: apache
    SSL is enabled for this site
    ** Detecting configuration **
    plugin version: 2.5.25
    Already on SSL, start detecting configuration
    SSL type: SERVER-HTTPS-ON
    ** Configuring SSL **
    testing htaccess rules…
    test page url, enter in browser to check manually: https://www.ourdomain.com/wp-content/plugins/really-simple-ssl/testssl/serverhttpson/ssl-test-page.html
    htaccess rules tested successfully.
    checking if .htaccess can or should be edited…
    .htaccess does not contain default Really Simple SSL redirect
    retrieving redirect rules
    converting siteurl and homeurl to https
    —————————–

    I am not sure, but the part where it says “.htaccess does not contain default Really Simple SSL redirect” might have anything to do with our http upload problem?

    Our htaccess file looks like this:
    —————————–
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    —————————–

    What do we need to add to the htaccess file?

    Would be great if anybody could help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mark

    (@markwolters)

    Hi,

    the ‘.htaccess does not contain default Really Simple SSL redirect’ means that the .htaccess rules have not yet been written to the .htaccess file. After this message, the plugin should write these rules to the .htaccess file.

    Normally when uploading an image to the media library, WordPress will take the site address as the base url. In this case the images should be on the https:// domain. It is possible something else is changing the site address, for example a filter, theme or another plugin. Can you try to disable other plugins and switch to a default theme to see if the issue still occurs then?

    Mark

    Thread Starter spabav

    (@spabav)

    Hi Mark,

    I am confused because I got the permission for the .htaccess file to 644 and the plugin is not writing to it at all.

    Do I need to set permissions higher for it to work?

    and I disabled all plugins on the site (except the Realy Simple SSL), but still when I upload all images are http . New ones and old ones as well. All only http .

    Please help – I just don’t know where else to look further.

    Thread Starter spabav

    (@spabav)

    Hold on.

    I found it.
    We had set in WordPress – Settings – Media a Full URL path to files which was still pointing to our old http URL.

    Sorry, guys. My bad. All fine now.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Great, thanks for the update!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Newly Uploaded Images Still only http’ is closed to new replies.