Avoid redirects while using plugin, clouflare platinum and htaccess at wp-config
-
Hello,
I got some problems while using you plugin according to js and maybe due to redirects, while working with cloudflare platinum they said the redirection is applying also by their services.
The question is coming from this point:– Do you also redirects from http to https (im sure yes, just asking).
– While using your plugin may i need to change my .htaccess with:
“<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>”– While using your plugin may i need to change my wp-config with:
“define(‘FORCE_SSL_ADMIN’, true);” And / Or “define(‘FORCE_SSL_LOGIN’, true);”??– What does:
“//Begin Really Simple SSL Load balancing fix
if (isset($_SERVER[“HTTP_X_FORWARDED_PROTO”] ) && “https” == $_SERVER[“HTTP_X_FORWARDED_PROTO”] ) {
$_SERVER[“HTTPS”] = “on”;
}
//END Really Simple SSL”.
DO??– Why do you need .htaccess, and what are you doing there?
Regards,
Thanks!
- The topic ‘Avoid redirects while using plugin, clouflare platinum and htaccess at wp-config’ is closed to new replies.