Need To Stop Wordpress Admin Needing SSL

sharingsunshine used Ask the Experts™
I have a development nginx system that is requiring https to login. Is there a switch or variable that will make admin to default to http instead?

This site isn't propagated so no ssl on site.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fractional CTO
Distinguished Expert 2018
This may or may not be possible.

Best if you dig into your site with testing tools like curl.

Difficult to know how to suggest your start, without an actual URL to test.

Either provide a URL or you'll have to start testing with curl, while digging into your logs + config files.

Tip: More than likely you'll still have to dig into your logs + config files to complete this process.

Tip: A great way to get hacked is to login to a WordPress site with HTTP, instead of HTTPS.

To me, there's never a good reason to every run HTTP anymore, even for dev/staging/test sites.

I personally wrap everything in certs. Period. No exception. Because using HTTP plain text logins will surely get you hacked eventually.
Scott FellDeveloper & EE Moderator
Fellow 2018
Most Valuable Expert 2013

In WP, check your settings by going to Settings->General. The url should be /wp-admin/options-general.php.  Do you have or

Another place to check is your wp-config.php file.  See if you have a line that looks like
define('FORCE_SSL_ADMIN', true);

Open in new window

And finally check your htaccess if it is doing the redirection to https.

If you do make any changes, it is a good idea to go to your WP admin and in settings->permalinks (wp-admin/options-permalink.php) it save after verifying.


Thanks, I got a cert and purchased a domain name.
David FavorFractional CTO
Distinguished Expert 2018

You're welcome!

Good luck!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial