I am also using 4.0.5 and the SSL ‘per content’ is not working. It was working in previous 3.0 versions. I have two pages selected and neither has the padlock showing (even thought there is a SSL cert setup for the website). Further, if I uncheck the SSL box on the two pages, save, then recheck the SSL box, the page sometimes works, but mostly comes back with a browser level error msg.
Here is a screenshot from Firefox
Here is a screenshot from Safari
I don’t have these redirect errors… In my case the SSL option only disable automatically in the post edit page and the page continue to works without SSL….
I’m having exactly the same problem as the OP. I check “Enable SSL” and Update page and all seems good. Even if I reload the dashboard page “Enable SSL” remains checked.
However, when I visit the actual page in question, I am not redirected to SSL but still get the standard http version. If I then go back to the dashboard, “Enable SSL” is no longer checked for the page in question. It’s not sticking after the page has been viewed.
It worked fine previous to 4.x as I have been using this feature for a while.
I saw this problem a few days ago… I have reported it as a bug today give the “READ FIRST” sticky. I did not realise iThemes would not act on the original post.
Have a look at http://wordpress.org/support/topic/issue-with-update-code-and-https-redirect for a workaround.
The code that needs to change is in modules/free/ssl/class-itsec-ssl.php
Hope that helps till it’s officially fixed.
Thanks ls5302, your code works fine, after the modification the SSL it’s working fine!
Thank you ls5302, your code works perfectly!!