• Resolved doug wilson

    (@dgswilson)


    which is faster? If I get a repeat offending range (usually a web host or business) I’d normally use a deny from in htaccess. I started wondering about the load difference

    Usually avoiding php is best… Just wondering

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor loginizer

    (@loginizer)

    Hi,

    Yes, if you add it in htaccess, the request doesnt reach PHP and its a little faster to block.
    But then you will need to manually add to htaccess always.

    Regards

    Thread Starter doug wilson

    (@dgswilson)

    For sure I don’t like blocking IP’s. Thanks for response

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘htaccess vs wp function’ is closed to new replies.