Support » Fixing WordPress » Mixed content problem

  • garfy

    (@garfy)


    I switched to ssl yesterday….
    Bluehost had to take my site off cloudflare cause it was not compatible

    Now it takes like 30 seconds to open the page, to load the page….it is horrible

    Also I have a mixed content problem with ssl…..like the images are not ssl enabled or something

    on whynopadlock.com

    An image with an insecure url of “http://www.xxxx.com/wp-content/uploads/sparklepix-logo-1.png” was loaded on line: 193 of https://www.sparklepix.com/.
    This URL will need to be updated to use a secure URL for your padlock to return.

    why are images still pointing to www version?

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Davood

    (@binarywc)

    I have many sites that were using cloudflare before we activated SSL. The problem is more than likely that you’re using a theme or page builder that didn’t upstate the URLs of your images correctly when you activated the SSL certificate.

    There are a few ways to update this… The easiest is probably to use phpmyadmin to do a search and replace in the database for the url and replace any instances of http://website.com with https://website.com. Specifically in the settings and posts tables. There are also plugins that will help you to do this through wp-admin.

    Hope that helps.

    • This reply was modified 3 months ago by  Davood. Reason: Fix typos and grammar errors
    garfy

    (@garfy)

    do you have the sql code?

    Davood

    (@binarywc)

    You should be able to use the search tool built into phpmyadmin to do the trick no code necessary.

    garfy

    (@garfy)

    how to do that?

    Davood

    (@binarywc)

    Log into phpmyadmin using cPanel find your wordpress database and use the search tab at the top.

    garfy

    (@garfy)

    ok I got many in wp posts and wp meta
    how to replave them now? Usually you run a sql command

    Davood

    (@binarywc)

    Sorry, I was referring to the wrong tab in my earlier posts.

    What you will want to do is go into wp posts table then click the SQL tab to write the commands on the content and guid columns. Then do the same thing in the wp posts meta table to update the meta value column. When you are doing this you will want to run an update command.

    That said, it might be easier for you to export the entire database and do a find replace in your favorite text editor then import it and let it overwrite what was there. Once you get the SQL file downloaded make a duplicate of it just edit the duplicate.

    Hope this helps you more.

    Moderator t-p

    (@t-p)

    garfy

    (@garfy)

    I used module search and replace and replaced http:// with https:// for al tables…..it wrote it to database…..and still on whynopadlock.com log is still pointing to http version and not https

    also image that is set as backgorund of a section in elementor also uses http

    I dont know what elese to do….

    garfy

    (@garfy)

    An image with an insecure url of “http://www.xxx.com/wp-content/uploads/logoper-1.png” was loaded on line: 203 of https://www.xxx.com/.
    This URL will need to be updated to use a secure URL for your padlock to return.
    Soft Failure An image with an insecure url of “http://www.xxx.com/wp-content/uploads/bkk-studio.jpg” was loaded on line: 396 of https://www.xxxx.com/.
    This URL will need to be updated to use a secure URL for your padlock to return.

    what else is to be done? I tried search and replace and better search and replace….why it does not change this?
    I even reuploaded logo again and still it shows http://www...

    Davood

    (@binarywc)

    double check that the Site URL and blog url are set to HTTPS also double check the htaccess file has the code mentioned on this page https://my.bluehost.com/cgi/help/599

    Hope this finally cracks the case for you. Please let us know how it goes either way.

    garfy

    (@garfy)

    what i have found out is that elementor makes a mess……only images that have elementor section image as background were causeing problems…..
    i had to reupload images….
    this is clear a nasty elementor bug

    garfy

    (@garfy)

    question is where elementor hides the code so well….it should be in database…..
    I suspect css in the theme? But I checked each css file and found nothing with HTTP

    it is very tedious to fix each page with elementor and reupload background image

    Davood

    (@binarywc)

    Ah, yes. You will need to report this to Elementor. Page builders can be a real bear where it comes to implementing SSL certificates however we do not support Elementor here in the Fixing WordPress forum.

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.