• Helping my buddy work on his website. Just got the SSL certificate for the site to be able to use Stripe’s payment interface through the Woo Commerce subscriptions plugin, which requires the certificate for security.

    Kept getting an error message on the Checkout page regarding an SSL certificate, even though the Checkout page was ‘forced’ by the plugin to be HTTPS. Finally figured out that the Cart page (which immediately precedes the Checkout page) also needs to be HTTPS. Confirmed with no error on Checkout page after changing Cart to HTTPS; instead, the Stripe interface appeared, as it should.

    So, I felt confident about changing all pages on the site to HTTPS. Did this by changing my Site URL and Home URL in Settings, then adding the following to wp-config:
    define('FORCE_SSL_ADMIN', true);
    And then added the recommended ~3 lines of code to .htaccess, and finally changed all the links in my content from HTTP to HTTPS using the Blue Velvet plugin.

    After all these recommended changes, I was surprised to see the same error message on the Checkout page reappear, this time with all pages secure with HTTPS. I then backtraced my steps, and 100% confident that .htaccess and wp-config were returned to original. I even changed the links in my content back to HTTP using Blue Velvet. Then tried changing Site URL and Home URL back, but each time I hit save, the page reloaded unchanged, showing https instead of http. Ended up having to manually change the wp-siteurl and wp-home options in the database back to http. But, despite exactly reversing my steps, something has changed and I cannot get rid of the error message on the Checkout page. Message is very vague, but has something to do with Stripe’s security measures.

    Any ideas? It would be very much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you changed link in Settings > General.
    Ensure that the WordPress Address (URL) and Site Address (URL) are https. If not, add S after http to make https and save it.

    Thread Starter jetfighter

    (@jetfighter)

    Yes, as i said I did change the link in Settings. But after doing so, the error message came back so I reverted back to http. For some reason, having all pages set to https made the error message come back. Very strange.

    Thank you for the plugin link. I will try that although I do not expect it to solve the problem. It seems that something subtle has changed because despite reversing all changes I had made, the error message does not disappear whereas, previously, it did disappear.

    Any ideas as to what could have changed? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems from updating wp_siteurl to HTTPS’ is closed to new replies.