• Resolved atex007

    (@atex007)


    Hi,
    AM having problem with my wordpress login. The problem is because i cant remember my htaccess password. To make it worses i cant access my wordpress dashboard , i can only ftp to the server.
    Now i cant view the webpage again, it always pop the login details
    Can someone please help me out

Viewing 2 replies - 1 through 2 (of 2 total)
  • Clarion Technologies

    (@clarionwpdeveloper)

    Hello atex007,

    If you have protected you WordPress login using the .htaccess file can you please remove the old and add new protection.Follow the below link which will helps you:

    https://codex.ww.wp.xz.cn/Brute_Force_Attacks

    Thanks

    Thread Starter atex007

    (@atex007)

    Thank you for your answer. When i tried to remove the old .htaccess file,got an error message about SQL not matching.
    This is how i resolve the the problem
    I restored from the backupfile a day before the issue and i edit the .htaccess file from
    ## begin basic auth
    AuthName “the protected directory”
    AuthType Basic
    AuthUserFile “/usr/home/thest3/www/htdocs/wp-admin/.htpasswd”
    Require valid-user
    ## end basic auth

    to
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    That was able to solve my problem

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

The topic ‘.htaccess(cannot access WordPress dashboard )’ is closed to new replies.