When accessing a wordpress blog, I want to force http when accessing wordpress via xmlrpc otherwise force https

The XML-RPC request is presumably to /xmlrpc.php in the root. In which case you can just make an exception for this at the very top of the .htaccess file (no need for the front-controller to be processed). For example: # Prevent remaining mod_rewrite directives to be processed RewriteRule ^xmlrpc\.php$ – [END] HOWEVER, WordPress itself is … Read more

WP_PLUGIN_URL equivalent

WordPress is expecting http, but you’re visiting with https which is causing the mixed content error. Setting your site and address URLs to use https should solve your problem. If you can’t use https in the admin, then you’ll need to try ways to tell WordPress to use https only on the frontend. Try something … Read more

wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?

I have a fix, I am not happy with it but it works: I added define(‘FORCE_SSL_ADMIN’, true); to wp-config.php Then I changed this method is_ssl() in /wp-includes/load.php to this. I think to avoid this bug, the define(‘FORCE_SSL_ADMIN’, true); check should have be used by the developers. I added the line if( defined( FORCE_SSL_ADMIN ) ) … Read more

File not found.