I need to configure path to .htpasswd in remote. The path in FTP is:


My .htaccess is this:

# BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /home/example/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/example/index.php [L]

AuthBasicProvider file

AuthUserFile /home/example/.htpasswd.txt
AuthName "Authorization Form Title"
AuthType Basic

#Allow any valid user
require valid-user

#Allow only one user with specified username
require user festival

# END WordPress

How can I set my path in remote or FTP?

Read more here: Wrong path .htpasswd in file .htaccess


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: