Wordpress wp-admin redirects to https Wordpress wp-admin redirects to https wordpress wordpress

Wordpress wp-admin redirects to https


So if you are having this issue only when you go to ../wp-admin then it is because you have force ssl admin set to true. You can find this in wp-config.php in the root of your WordPress site, you need to set this option to false.

define('FORCE_SSL_ADMIN', false);

I am assuming your siteurl in the wp_options table in the WordPressdatabase is set to a http:// address.


open your wp_options table in database.

Search for siteurl and check option value of siteurl. I think that url is redirected tohttps. Change it to http.


Old question, but something has never been mentioned here: any user can choose to use SSL.

You may want to check your wp_usermeta table:

mysql> select * from wp_usermeta where meta_key = 'use_ssl';+----------+---------+----------+------------+| umeta_id | user_id | meta_key | meta_value |+----------+---------+----------+------------+|        9 |       1 | use_ssl  | 1          |+----------+---------+----------+------------+

use_ssl need to be set to 0 if you don't want to be redirected (useful for local development):

update wp_usermeta set meta_value = 0 where meta_key = 'use_ssl' and user_id = YOUR_ID;