Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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';
 
PREVIOUS NEXT
Tagged: #Wordpress #admin #redirecting #http
ADD COMMENT
Topic
Name
2+7 =