[wp-hackers] Running WordPress "offline"?

Daniel danielx386 at gmail.com
Wed Apr 9 13:29:54 UTC 2014


There was a line that you can add into wp-config that will block
external requests. Not sure if that still the case.

On 4/9/14, Ryan McCue <lists at rotorised.com> wrote:
> Mike Walsh wrote:
>> Is there a setting or hook or something that will cause the external
>> connections to either fail much quicker or not be attempted at all?
>
>
> Add this to /etc/hosts in the VM:
>
> 127.0.0.1 wordpress.org
> 127.0.0.1 api.wordpress.org
> 127.0.0.1 planet.wordpress.org
>
> It should cause your dashboard to fail basically immediately. :)
>
> --
> Ryan McCue
> <http://ryanmccue.info/>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
Regards,
Daniel Fenn


More information about the wp-hackers mailing list