• Hi, I use FTP protocol to connect to my site, normally I only see one and only one .htaccess file in the site directory. However with this site, I saw so many .htaccess files with strange names (see the image in the link), do you have any explanation for this? Thank you!
    URL image: https://ibb.co/9sJKGY5

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Those aren’t generated by WordPress. I recommend contacting your hosting provider’s support about this.

    Hi Zitren,

    Please note that WordPress adds only one .htaccess file.

    I suspect that it is some backup/cache plugin you have installed on your website. The only file which matters is the .htaccess file which seems intact. What you can do now is to disable the backup/cache plugins, move all the backup files and then check if the problem persists, also take a look at the error log file if you have DEBUG_LOG turned on your website.

    If you could figure out the problem causing the issue, do contact the plugin author and ask the author if it is safe to remove those plugin backup files.

    Feel free to reach out again if the problem remains.

    Thanks,

    Yep, I get these too. LiteSpeed Cache makes these backups whenever I deactivate/reactivate it for troubleshooting or make a change to the cache configuration that impacts htaccess. I usually change the access permissions to 400. When there gets to be too many I delete all but the most recent – just in case I need to roll back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Too many unknown .htaccess files’ is closed to new replies.