/wp-content/backup-db/
you need rename it from .htaccess.txt to .htaccess
If you still have the error, check that your server has password protection enabled for that folder.
Enable htaccess protection on the backup-db folder on your host server.
I followed the steps and still had the error. Enabled password protection on the folder on my server and it removed the warning. I hope this helps!
Make sure your server has htaccess protection enabled!
I ran into the same issue, moved the file, renamed it to .htaccess, and still had the issue… Went to my host server, configured /wp-content/backup-db/ for password protection and no more error!
Good luck to you 🙂