You are viewing an old revision of this post, from April 9, 2018 @ 07:25:15. See below for differences between this version and the current revision.

WP_HTTP_BLOCK_EXTERNAL & WP_ACCESSIBLE_HOSTS

Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a closed environment. However, having this set is problematic when performing migrations using WP Migrate DB Pro or allow updates for WordPress: Using WP_ACCESSIBLE_HOSTS you can set allowed hosts like so: [php]define('WP_ACCESSIBLE_HOSTS', 'api.wordpress.org,nightshiftapps.com');[/php]

Revisions

  • April 9, 2018 @ 07:25:15 [Current Revision] by PeterLugg
  • April 9, 2018 @ 07:25:15 by PeterLugg
  • April 9, 2018 @ 07:24:09 by PeterLugg

Revision Differences

There are no differences between the April 9, 2018 @ 07:25:15 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply