FAQ

Frequently Asked Questions

Block external requests on your WordPress blog – CodeRevolution

For some reason, your WordPress blog can send some info to external sources, as such as AUtomattic, the company behind WordPress. Although you don’t really have to worry about it in my opinion, you can block those requests with the following technique.

To do so, open your wp-config.php file and paste the following code:

define('WP_HTTP_BLOCK_EXTERNAL', true);

It will block external requests from that time on. Though, some plugins need external request to work properly. If you experience problems, you can define a whitelist by pasting the code below into wp-config.php. Don’t forget to replace my url by the one needed by the plugin.

define('WP_ACCESSIBLE_HOSTS', 'CodeRevolution.com');

This is the last recipe of 2009. Thanks to all of you for your support, and best wishes for 2010!

CodeRevolution Knowledge Base

Video tutorials