[FIXED] -WordPress- after login wp-admin says “not available”

When Using the All in One WP Security Plugin, WordPress- after login wp-admin says “not available”

This normally happens when you moved the site to another directory / htaccess file error

SOLUTION

The easiest way to disable the plugin is to log in to your server using FTP / cpanel file manager and rename this plugin’s folder temporarily.
Tampering with the DB can lead to issues if you make a mistake.

 

All In One WP Security & Firewall

 

Ht-access errors, please see this URL to restore htaccess file

 

How to Restore the htaccess File When Using the All in One WP Security Plugin

 

Deny IP Range in .htaccess file

Most of the time you need to block the whole range of IPs using .htaccess file and i recently noticed below code not working.

<Files ajay.php>
order deny,allow
deny from all
allow from 192.168.0.0/24
</Files>

After couple of searches i found the /24 doesn’t work here and you need to make the subnet mask as 255.255.255.0

 

to allow single IP is easy as below

<Files register.php>
order allow,deny
allow from 192.168.19.24
deny from all
</Files>

<Files search.php>
order deny,allow
deny from all
allow from 192.168.0.0/255.255.0.0
</Files>

 

in Linux life small changes make a big difference 🙂

 

WP Twitter Auto Publish Powered By : XYZScripts.com