Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    Found a great plugin that fixed this problem. Link is below

    http://ithemes.com/codex/downloads/fix-ssl-non-ssl-links.zip

    But this changes your relative links to https (which is why you’re no longer getting that error.)

    This “fix” still sends me to my homepage over https which breaks my css.

    😐

    Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    Do you have Force SSL Exclusively turned on? I have my homepage redirecting to http instead of https and it worked. I’ll be more than happy to help if you send me an example. 🙂

    Yeah, I had Force SSL Exclusively turned on and the only 2 pages I had marked were my account and checkout (I’m using woocommerce).

    I get the same problem without using wordpress https and just using woocommerce’s settings to force https for my account/checkout and force http when leaving. The problem is, it’s not forcing my site to go back to http.

    So what I really need is something that forces my site to redirect to http except for the my account/checkout pages.

    Any ideas?

    My Site: http://snowspell.com

    Also: I’ve noticed that it’s a random occurrence. Sometimes it goes back to http sometimes it doesn’t (which is when the css breaks.) And it’s not a cache thing, I’ve tried different browsers/incognito/cleaning the cache. It’s just random. (Also seems to happen more in Chrome than in Firefox.)

    You can attempt to replicate the problem by clicking my account at the top right then home at the top left.

    Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    I noticed that you had Home

    When I type Home, then it doesn’t break the css, when I go from My Account to Home. Let me know if that fixes it for you.

    The links below are a good guide for troubleshooting

    http://ithemes.com/codex/page/Fix_Non-SSL_Elements_on_SSL_Page
    http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
    https://managewp.com/wordpress-ssl-settings-and-how-to-resolve-mixed-content-warnings

    This definitely sounds like a mixed content issue. If the iThemes plugin doesn’t work for you, manually typing http:// or https:// might be the option for you. You can also use Google Chrome’s code inspector (Console) to find the exact link that is causing the problem.

    FYI. How are you forcing the ssl for the account/checkout pages? I’m assuming your using Filters in WordPress HTTPS Plugin

    Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    Sorry, i forgot my links dont show. lol. I typed http:// manually in front of your home link and it didn’t break your css, instead of typing just // which I know usually works, although not in this case.

    Yes, I know the css isn’t broken with http. The thing is, to not have mixed content warnings, the homepage has to show https (Because it’s the ending page.) This is what your fix does as well.

    All urls are relevant, so as long as you’re not on the my account or checkout page they show up as http.

    But for some reason, the site is not forcing the user back to http every time when they click on an https link that’s not the my account or check out page.

    Right now it’s being forced by the woocommerce plugin (which does the same thing as wordpress https) and I’ve tried both with the same outcome.

    (If I hard code http:// into the links, then you get mixed content warnings.) So until I find a fix I get to choose from mixed content issues or a 50/50 shot of someone clicking a link and it not forcing them back to http and them viewing a broken site. -______- lol

    BTW, the https isn’t my problem. It’s forcing back to http. Not sure if that was clear or not since it’s a big jumbled up mess, lol.

    Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    It sounds like Force SSL Exclusively isn’t working at all. Check for plugin conflictions. There is a way to do this without the HTTPS plugin as well. Below are some more links. And definitely check out those links I sent you. You might have to revert to htaccess redirects. Or there is a way to manually hard code force ssl and force non-ssl in each specific template page. Real headache, but last resort.

    But, yeah that sounds fishy, If you have Force SSL Exclusively on. When I click on your homepage, its suppose to redirect to http. But it doesn’t. All I can tell you is maybe try looking for another mixed content plugin or typing http:// in front of the home link. Because the fix non ssl plugin will only work if it see’s an http or https in front of the link.

    Below is the link
    http://wordpress.stackexchange.com/questions/129/is-there-a-way-to-force-ssl-on-certain-pages

    https://wordpress.org/support/topic/how-to-force-ssl-for-a-single-form-page?replies=9

    Thread Starter mgp271gmailcom

    (@mgp271gmailcom)

    The link below goes over mixed content issues. Which is the problem at hand.

    https://managewp.com/wordpress-ssl-settings-and-how-to-resolve-mixed-content-warnings

    Hope this helps. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Google Chrome shows an https error on a page that is forced to be a non-https’ is closed to new replies.