mvied
Forum Replies Created
-
I pushed out 3.0.4 today which should fix the issues you guys were having with securing your entire site.
It’s possible the cart you’re using provides some kind of setting for using SSL. If their setting is turned off and you’re securing the page with my plugin, it’s possible there is a conflict.
If someone is using a service like CloudFlare or some other caching mechanism, pulling HTTPS resources on the HTTP page may prevent those caching services from working correctly.
There is no reason for the plugin to change a random URL in JavaScript. Is the JS you posted hard-coded, or are you using WordPress functions to pull the site’s URL?
If you browse to just the SSL URL and you get a 404 error, you can’t use that Shared SSL. I’m not sure exactly what’s breaking WordPress, but I currently don’t know of a fix.
If you want to make your whole site HTTPS, change your Site URL to contain HTTPS.
Currently the only option for mass-updating posts is writing some custom code to do so.
$args = array( 'numberposts' => -1 ); $posts = get_posts($args); foreach( $posts as $post ) { update_post_meta($post->ID, 'force_ssl', '1'); }Delete the plugin and re-install from the Dashboard. I caught this about 5 minutes after I pushed it out, haha.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Force SSL for usersSo you want to secure all links for logged in users?
You could do that pretty easily by adding this to your theme’s functions.php:
function logged_in_force_ssl( $force_ssl, $post_id ) { if ( is_user_logged_in() ) { $force_ssl = true; } return $force_ssl; } add_filter('force_ssl', 'logged_in_force_ssl', 10, 2);It may not work perfectly. Let me know.
I do have a theory that if I can somehow get WordPress to strip off the extra Shared SSL path information (
/~username) before it tries to query the current page, that it would cause the URL’s to be looked up by their correct path, and it would work. Just a theory.To my knowledge, there is no way around this. The proxy sitting in front of the server hosting WordPress is not properly passing the Request URI so WordPress doesn’t know where to send the user (it can’t even pull up the front page). Unfortunately, this is caused by a proxy not being configured correctly, but sometimes it is intentional by the hosting company because they do not want you using the Shared SSL certificate with WordPress or anything like that.
That’s what I’ve learned from talking to users of my plugin that have run into this issue.
You said you have a login widget. Where does it come from, a plugin or a theme?
Can you look at the code that creates the form? Perhaps it’s hard-coded.
Try changing your Site URL to HTTPS instead. That will secure your entire site. If you have issues, try installing the development version from Github instead. I know there are some bugs in 3.0.3.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] BrokenUninstall/delete the plugin and re-install. If the problem persists, please provide as much detail as possible. Your configuration, what error you receive, what you’ve tried to fix the issue, etc. “Crashed website” is not enough information to help you.
Have you tried enabling Force SSL Admin?
WordPress HTTPS uses output buffering to fix the majority of issues that can arise when using SSL with WordPress. I imagine W3TC is caching the output without output buffering processing it, so the URL’s are incorrect.
I could probably fix it, depending on how their code is written. I’ll have to see.