• Resolved orvokki

    (@orvokki)


    Hello everyone,

    I have a problem with the plugin on one of my sites.

    As it turns out, the plugin doesn’t write any rules in .htacces file and, morover, when I upload the file via FTP, it changes it always to:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    This way I cannot block the IP attending to hack my site…

    When I deactivate the All In One WP Security & Firewall plugin and then upload the .htaccess via FTP, the file doesn’t change, so it must be the plugins’ fault.

    The plugin generally works, because e.g. the bruteforce attack works, the lockdown feature works… but there are no rules in .htacces.

    I’ve tried deactivating all plugins but the problem remains.

    I’ve deactivated the AIOS&F and then clicked to override the rules in .htaccess but it also always writes the code above.

    https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, if you can’t write any rules to your .htaccess file you will need to contact your host.

    Without the proper permissions, you will not be able to enable any of the security features that need to write to the .htaccess file.

    Regards

    Thread Starter orvokki

    (@orvokki)

    There’s no problem with the permissions, because when I upload the .htaccess file via FTP with some IP-blocking rules and then activate the plugin, it removes my rules and leaves only the code above.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you reporting back. Then there must be a plugin that overrides any entry in the .htaccess file by AIOWS? Carry out the following, disable all your other plugins except this one and test to see if entries in the .htaccess file are not deleted.

    Thread Starter orvokki

    (@orvokki)

    Well, I’ve installed a new copy of WordPress and it works now.

    Could define('DISALLOW_FILE_EDIT', true); had been a problem?

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Could define(‘DISALLOW_FILE_EDIT’, true); had been a problem?

    No. That is for the prevention of php file editing via wordpress admin panel.

    Thread Starter orvokki

    (@orvokki)

    well, then there must’ve been a problem with wordpress files.

    resolved, thank you ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with .htaccess’ is closed to new replies.