No access to the administration panel after installing the ssl certificate
-
Hello,
A few days ago a Wildcard SSL certificate was installed on my server for the appropriate domain.
I made a redirection in the htaccess file by adding 3 lines of code to the beginning of the file:RewriteEngine On
RewriteCond% {HTTPS}! = On
RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
In the administration panel in general settings I changed addresses from http to https.
Unfortunately, with this setting the site has stopped working due to the redirection loops.
Therefore, in the wp-config.php file I added one line of code:
$ _SERVER [‘HTTPS’] = ‘on’;
There was still a problem with the redirection loop. So from the htaccess file I removed the 3 lines of code that I put in first and the page started to load on https.
Unfortunately, when I try to log in to the administration panel, I get a message each time:Sorry, you do not have permissions to this site.
I’ve tried different ways, but none of them worked.
Maybe some of you tell me what could be wrong?The page I need help with: [log in to see the link]
- The topic ‘No access to the administration panel after installing the ssl certificate’ is closed to new replies.