• 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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you change the site url and links in DB to HTTPS?

    Thread Starter siCk_BoY_

    (@sick_boy_)

    Yes I did. In wp_option table. But it isn’t a problem.
    I don’t know why all the time I see meassage:

    “Sorry, you do not have permissions to this site”

    All folders have permission 755, and files 644. I tried to change permission to 775 but it doesn’t change anything.
    On another server on the copy of the database I put the same page and everything works.

    • This reply was modified 6 years, 1 month ago by siCk_BoY_.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No access to the administration panel after installing the ssl certificate’ is closed to new replies.