Htaccess File

stuarteske/Unix-Shell-Scripts-and-Tools/master/stub-wordpress-wp-admin.htaccess

Order Deny,Allow
Deny from all
Allow from xxx.xxx.xxx.xxx # example ip's
Allow from xxx.xxx.xxx.xxx # example ip's

<files ~ "^.*.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
</files>

<Files "admin-ajax.php">
     Satisfy Any
     Allow from all
</Files>
Exit mobile version