Answers for "Wordpress admin redirecting to http"

PHP
0

wp-admin redirecting to the https wordpress

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.
Posted by: Guest on April-02-2021
0

Wordpress admin redirecting to http

//Add following line at the end of the wp-config.php file:

// Option 1:
define('FORCE_SSL_ADMIN', true);

//If that doesn't work then try Option 2:
$_SERVER['HTTPS']='on';
Posted by: Guest on February-10-2022

Code answers related to "Wordpress admin redirecting to http"

Browse Popular Code Answers by Language