Wrong path .htpasswd in file .htaccess

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

Leave a Reply

Your email address will not be published. Required fields are marked *