• Resolved misterfry

    (@misterfry)


    Hi everybody,

    I’ve been reading up on .htaccess directives the last couple days, but haven’t found out much about implementation. Say I want to use the directive for protecting wp-config.php which would be this:

    # protect wpconfig.php
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    Would that go before “# BEGIN WordPress”, after “# END WordPress”, or in between them? Would the same apply to other directives like this:

    # secure htaccess file
    <Files .htaccess>
     order allow,deny
     deny from all
    </Files>

    Any help is greatly appreciated!

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