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
Php :: 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 
Php :: unzip file php 
Php :: how to get last array element in php 
Php :: check if number is float in php 
Php :: take 10 character from string using php 
Php :: displaying errors in laravel 
Php :: How to prevent Browser cache for php site 
Php :: get yesterday date in php 
Php :: get price woocommerce product 
Php :: check input value is integer or not in php 
Php :: carbon parse subday 
Php :: echo query in laravel 
Php :: print date in php 
Php :: php date today plus 1 month 
Php :: laravel eloquent increment 
Php :: get_template_part parameters 
Php :: phpspreadsheet setcellvalue row background color 
Php :: how to get the link of the current page in php 
Php :: php alert 
Php :: wordpress custom fields variable dump 
Php :: getting current timestamp in php 
Php :: deprcation problem phpmyadmin ubuntu 
Php :: php validate phone number 
Php :: laravel now date 
Php :: php format date 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =