Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pricing-table-by-supsystic domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/wpzaco/public_html/wp-includes/functions.php on line 6121
edit .htaccess – WPZA

Tag: edit .htaccess

  • Secure the wp-admin with .htaccess file

    Secure the wp-admin with .htaccess file

    This post forms part of the video on securing the wp-admin folder on our WPZA Youtube channel.

     

    The code below is to be copied into a .htaccess file and then uploaded to the wp-admin folder on your server.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    # Apache 2.4
    <IfModule mod_authz_core.c>
    Require all denied
    Require ip xxx.xxx.xxx.xxx
    </IfModule>

    # Apache 2.2
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    Allow from xxx.xxx.xxx.xxx
    </IfModule>