wp-admin redirect loop with ssl

I currently have a site running on HTTPS with an SSL plugin activated Website: https://www.greenwichsentinel.com SSL Plugin: Really Simple SSL WordPress Version: 4.0.7 (Multisite) Everything seem configured correctly, however when trying to log into the site or view any dashboard panel i get caught in a redirect loop. For example, trying to log in through … Read more

Setup Permanent 301 Redirects after moving to Https [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 3 … Read more

PHP Get Site URL Protocol – http vs https

I’ve written a little function to establish the current site url protocol but I don’t have SSL and don’t know how to test if it works under https. Can you tell me if this is correct? function siteURL() { $protocol = (!empty($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] !== ‘off’ || $_SERVER[‘SERVER_PORT’] == 443) ? “https://” : “http://”; $domainName … Read more

PHP – SSL certificate error: unable to get local issuer certificate

I’m running PHP Version 5.6.3 as part of XAMPP on Windows 7. When I try to use the Mandrill API, I’m getting the following error: Uncaught exception ‘Mandrill_HttpError’ with message ‘API call to messages/send-template failed: SSL certificate problem: unable to get local issuer certificate’ I already tried everything I read on StackOverflow, including adding the … Read more

How to modify the .htaccess to force ssl on login and admin pages

I have the following code to force ssl on the login and admin pages via the .htaccess on a the domain example.com <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ^/wp-(admin|loginurl) [NC] RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} example\.com$ [NC] RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R,QSA] </IfModule> I’m also using iThemes Security ‘Hide-backend’ to change the wp-login to ‘loginurl’ due … Read more

Mixed Content with SSL, wordpress behind a reverse proxy

I ran into mixed content with SSL issues. I’ve applied for Let’s encrypt SSL certificate for my test wordpress site behind a reverse proxy(articaproxy). The same SSL certificate has been deployed in reverse proxy server and wordpress virtual host. The reverse proxy http/https redirect works fine. I forced the siteurl and home url to https … Read more

SSL: How to make customizer images Protocol Relative in WordPress?

I’m trying to eliminate “mixed content” on my website and have done so with every area of the site except for one. Any image uploaded via the Theme Customizer is not protocol relative nor https, all images uploaded via the customizer come up “http://”. The Customizer uses the Media Gallery uploader but doesn’t seem to … Read more

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

When I try to connect to any server (e.g. google.com) using curl (or libcurl) I get the error message: curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number Verbose output: $ curl www.google.com –verbose * Rebuilt URL to: www.google.com/ * Uses proxy env variable no_proxy == ‘localhost,127.0.0.1,localaddress,.localdomain.com’ * Uses proxy env variable http_proxy == ‘https://proxy.in.tum.de:8080’ * Trying 131.159.0.2… … Read more