• cosasdesam

    (@cosasdesam)


    Hi,

    I recently installed a ssl certificate in my client’s domain, let′s encrypt, after that I can not access the wordpress admin panel, I’m redirected to the “under construction” page already, I had maintenance mode enabled on the template. After verifying with the server and with the creators of the template, handmade template, I believe that the problem is in the htaccess that wordfence has generated. This is the htaccess generated by wordfence:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    and the Wordfence WAF (files .user.ini)

    If I change the code I get a 404 or Not Found or too many redirects.

    Any suggestion welcome, it took more than 2 weeks with the problem

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • WFSupport

    (@wfsupport)

    This code is not generated by wordfence. The waf code, clearly defined, would be but this was added by something or someone else.

    tim

    Thread Starter cosasdesam

    (@cosasdesam)

    Thanks for the info, it is possible that wordfence has a problem with the pages of “under construction” or “coming soon” of the template or the permalinks?

    I have observed in several forums that there are usually problems of this nature.

    I rebuild the website and i see when the under-construction or coming soon page is active we have the problem to access to admin section.

    Therefore, I have decided to work without activating these pages.

    Samuel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I cannot access to wordpress admin panel after install let′s encrypt’ is closed to new replies.