michael_fcc
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] HTTPS / HTTP Minify Protocol Specific URLThank you Fredrick!
I look forward to this feature being implemented!
I checked my wp-config.php and found that there is no WP_DEBUG at all. I made sure there were no other plugins enabling a debug mode as well. Anything else to check?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Fails to load resources after Force SSL ExclusivelyThanks guys for your responses. I want to upgrade to the latest version of WordPress just to see if this would fix it however it is going to be a process proving to my company that the upgrade would be justified. Any main points to why upgrading from 3.3.1 to 3.4.2 would be greatly appreciated.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Fails to load resources after Force SSL ExclusivelyI wish this was possible however for company security concerns and the fact that the website currently is not viewable to the outside world I can only give you code snippets to understand my situation.
I dont think it has anything to do with your plugin, I think your plugin works great for the majority and by all means keep on rockin’ it!
I think it has to do with the fact that my wordpress install is slightly hacked up (modifications that were made in the above posted code), because I needed my site to work unlike what wordpress was intended for. (using protocol relative paths for everything).
If I can give you any other info without logging in please let me know what to provide, I will do my best.
Thanks
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Fails to load resources after Force SSL ExclusivelySo I have come to the conclusion to just create a custom menu using:
Appearance > Menus
All HTTP page just use the full url of http://www.mydomain.com
and all HTTPS pages are using your plugin with the secure page checkbox to force it (this is the only thing I currently use the plugin for)
My issue is I have 2 https pages and the rest need to remain http
I have modded wordpress in wp-includes/general-template.php with the following code to ensure my home url / siteurl remains protocol relative as I have been reading that WordPress 3.0 does not support relative urls by default:
case 'url' : $output = getRelativePath(home_url()); break; case 'wpurl' : $output = getRelativePath(site_url());and then:
function getRelativePath($url) { $secure_connection = false; if(isset($_SERVER['HTTPS'])) { if ($_SERVER["HTTPS"] == "on") { return str_replace("https://".$_SERVER['SERVER_NAME'], "", $url); } } return str_replace("http://".$_SERVER['SERVER_NAME'], "", $url); }I wish there was a better way to do this without modifying the base wordpress install but have not found a solution.
Maybe you know of a more appropriate solution?
Forum: Plugins
In reply to: [W3 Total Cache] HTTPS / HTTP Minify Protocol Specific URLOk so I found a solution:
in /wp-content/plugins/w3-total-cache/inc/define.php edit around line 467
return $url;to
return "";This will ensure all css + js resources load as a protocol relative path (without the domain) so you can use mixed modes of http and https