Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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.
Comment

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';
Comment

PREVIOUS NEXT
Code Example
Php :: php array insert before key 
Php :: laravel enable mysql logging 
Php :: location php ini mac os 
Php :: get all post 
Php :: autoload file in laravel 
Php :: date_default_timezone_set php bangladesh 
Php :: php artisanmigrate 
Php :: laravel database seeder 
Php :: php named parameters 
Php :: php undefined function mysqli_fetch_all() 
Php :: remove last comma from string php foreach 
Php :: laravel update query builder 
Php :: laravel db drop table 
Php :: how to sort with array and after print by for loop in php 
Php :: PHP MySQL Use The ORDER BY Clause 
Php :: how to get all the records with same ID in laravel 
Php :: laravel middleware in constructor 
Php :: laravel the requested url was not found on this server 
Php :: update codeigniter 
Php :: php number format without rounding 
Php :: disable display error 
Php :: how to insert data in table and fetch in wordpress 
Php :: define php 
Php :: laravel fontawesome blade directive 
Php :: how to check path laravel 
Php :: wordpress debug mode 
Php :: how to deploy laravel windows 
Php :: php combine 2 arrays keep duplicates 
Php :: how to send data from html to php 
Php :: php get variable by string name 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =