[wp-hackers] Running WordPress "offline"?
Mike Walsh
mpwalsh8 at gmail.com
Wed Apr 9 16:33:26 UTC 2014
This is the sort of solution I was looking for. I don't want me VM
permanently set to ignore these connections all the time, just when I am
not online. Does such a thing exist in wp-config.php?
On Wed, Apr 9, 2014 at 9:29 AM, Daniel <danielx386 at gmail.com> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Mike Walsh - mpwalsh8 at gmail.com
More information about the wp-hackers
mailing list