Form endpoints cause HTTPS mixed content errors

This topic contains 8 replies, has 3 voices, and was last updated by  charlievaughan 7 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #366766

    charlievaughan
    Lifetime Member
    Post count: 70

    I’ve been migrating my site to HTTPS and the last mixed content errors I need to fix are for endpoints on forms which are pointing to ‘http’ instead of ‘https’.

    The admin toolbar is causing one, which I don’t suppose matters to anyone but me.

    The other is for the GD Search widget:

    <form class="geodir-listing-search gd-search-bar-style " name="geodir-listing-search" action="http://my.site.com/" method="get”>

    I found this thread which was a great help in resolving paths to assets: Http to https migration question: https://wpgeodirectory.com/support/topic/http-to-https-migration-question/

    But the “Better search replace” plugin didn’t resolve the endpoint(s) when replacing the old domains in the DB.

    #366767

    Guust
    Moderator
    Post count: 29970

    Can you post URL and WP admin please, and the page you have that error? Thanks.

    #366801

    charlievaughan
    Lifetime Member
    Post count: 70
    This reply has been marked as private.
    #366804

    Guust
    Moderator
    Post count: 29970

    I guess you tried the search and replace as a network administrator?
    I am not sure why it did not replace, maybe a cloudflare issue. Or the HTTPS plugin, which is normally not needed if SSL is implemented correctly.
    I’ll get one of the others to have a look too, can you make that account a super admin?
    Thanks.

    #366815

    charlievaughan
    Lifetime Member
    Post count: 70

    Yes I ran the search and replace on the site as a super admin.

    I put Cloudflare into developer mode and the GD Booster isn’t working at the moment anyway, so that was disabled.

    Based on what you said I also ran the search and replace from the parent site, on the multisite this is based on. This found and made another 1030 changes to the database, but I still have the same issue with the endpoints.

    I also tried disabling the HTTPS plugin but this results in all the lazy loaded images also causing mixed content errors and not fixing the endpoints. Plus the maps didn’t load.

    I set the account to super admin.

    #367010

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    The network admin area seems to be stuck in a redirect loop, can u access it?

    If you can also provide FTP info and disable CF again i can take a closer look.

    Thanks,

    Stiofan

    #367061

    charlievaughan
    Lifetime Member
    Post count: 70
    This reply has been marked as private.
    #367235

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the info, i am not sure what is going on with your setup, but even things like “get_home_url()” are returning non SSL url’s, but the setting seem correct, i guess it must be some 3rd part influence like a plugin or custom code?

    Stiofan

    #367340

    charlievaughan
    Lifetime Member
    Post count: 70

    Ok, thanks for taking a look. I’ll have to take a closer look at the weekend. There’s not really any custom code, but I’ll have to try deactivating plugins to narrow down the issue.

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount