Add Site to WP_ACCESSIBLE_HOSTS

Unblocking NightShiftApps.com is quick and easy and ensures you stay up to date with important notifications and allows you to easily update the professional version of our plugins from inside your WordPress admin interface.

Set Accessible Host

The recommended way to add a domain to the WP_ACCESSIBLE_HOSTS is within the WP-CONFIG.php. This file can be found in the root directory of your WordPress installation.  The easiest way to do this is to use an FTP client to log into your server, or access your host’s file management system.

Search the file for WP_ACCESSIBLE_HOSTS.
If it is not found, add the following line to the end of the file:
define('WP_ACCESSIBLE_HOSTS', 'nightshiftapps.com');

If WP_ACCESSIBLE_HOSTS is found, add ,nightshiftapps.com to the end of the list. It will look something like this:
define('WP_ACCESSIBLE_HOSTS', 'api.wordpress.org,nightshiftapps.com');

Save the changes to the server and refresh the admin section. The warning should go away and you will now be able to receive important notifications and software updates.

Leave a Reply