• Hey Everyone,
    I am using a security plugin, and I have outside servers trying to constantly, and I mean constantly hack my site.

    A feature of my plugin is to create a whitelist of the IP addresses that can login to my WP admin site. When I try and use this, it says that it cannot change the .htaccess file – and for me to edit it manually. I have no clue what this files’ format is to add anything like this. Does someone else have a clue?

    Greg

Viewing 1 replies (of 1 total)
  • Hey Greg,

    I can give you a clue.

    This is a common feature of security plugins and, usually, when you see a message like:

    cannot change the .htaccess file – and for me to edit it manually.

    . . . it means that the plugin doesn’t have permissions (specifically, write permissions) so it can change the .htaccess file.

    I have no clue what this files’ format is to add anything like this.

    It’s a plain text file, so you can open it and edit with any text editor or IDE.

    Usually, when you get an error like that, they’re going to tell you exactly what to add to your .htaccess file and where. Do you see that?

    The other option is to see if there’s a way to allow the plugin to write to that file. This may mean temporarily changing file permissions on your .htaccess file.

    Here are a few links that may help:

    I hope that makes sense and helps.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Editing .htaccess file’ is closed to new replies.