Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress https too many redirects

define('WP_HOME','https://mywebsite.com');
define('WP_SITEURL','https://mywebsite.com');
$_SERVER['HTTPS'] = 'on';
Comment

too many redirects wordpress

Issue was solved by removing the .htaccess file as .htaccess files was containing
<FilesMatch ".(phtml|php|PhP|php5|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>


reference : 
https://cwiki.apache.org/confluence/display/HTTPD/ClientDeniedByServerConfiguration
Comment

PREVIOUS NEXT
Code Example
:: last login date time in wordpress 
Php :: php get id from url 
Php :: form post self php 
Php :: create laravel project old version 
Php :: laravel convert datetime to date 
Php :: laravel 404 not found not showing error 
:: unzip file php 
Php :: how to get last array element in php 
Php :: check if number is float in php 
Php ::  
Php :: displaying errors in laravel 
Php :: foreach limit laravel 
:: wp_get_attachment_image class 
Php :: laravel updateorcreate 
Php ::  
Php :: why css not working with php file 
Php :: php discord webhook 
Php :: setup_postdata not working 
Php ::  
Php :: reload page in php 
Php :: yii2 redirect back 
Php :: php move file 
Php ::  
Php :: unset _post 
:: php read xml file into array 
Php :: constructor in php 
:: redirect back in laravel livewire 
Php :: homebrew switch php 
Php :: shuffle php function 
:: isset submit in php 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =