TEMP FIX:
I removed
echo 'Error accessing the current session...';
}
else{
So that it will pass through the plugin.
AUTHOR: If you have another work around please advise.
I have the same issue, if i go to the domain i see the admin bar but if i try to go to wp-admin or clicking anything in the admin bar i get the same thing , error accessing the curent session.
@havasuscannerfeed tried that but i get an error saying the page was redirected to many times. would be great if @rafasashi could chime in .
@gabelu:
Inside your wp-config.php, do you have:
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);
You can also check your database using PHPMyAdmin and in Options there is the same settings. Make sure they match. If you have a www-redirect in place, make sure it reflects that in the above settings.
I found additional reading materials on the error you’re experiencing http://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/
@havasuscannerfeed think i foudn the issues with my problem , all the sites are using ssl but on 2 of them they wheren’t forced ( sites could be accessed by both http and https).
Once i set for the http to redirect to https everything seems to work fine.
To redirect from http to https add the following lines in htaccess right under RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]