block external connection
-
Hi
Please check this url of wordpress official:
https://codex.ww.wp.xz.cn/Editing_wp-config.php#Moving_wp-content_folderBlock External URL Requests
Block external URL requests by defining WP_HTTP_BLOCK_EXTERNAL as true and this will only allow localhost and your blog to make requests. The constant WP_ACCESSIBLE_HOSTS will allow additional hosts to go through for requests. The format of the WP_ACCESSIBLE_HOSTS constant is a comma separated list of hostnames to allow, wildcard domains are supported, eg *.ww.wp.xz.cn will allow for all subdomains of ww.wp.xz.cn to be contacted.define( ‘WP_HTTP_BLOCK_EXTERNAL’, true );
define( ‘WP_ACCESSIBLE_HOSTS’, ‘api.ww.wp.xz.cn,*.github.com’ );What I mean is that some external connections seems no related to function working, it is quite suspicious…
for security consideration, it would be great clearfy can detect and optionally block it.
Alex
The topic ‘block external connection’ is closed to new replies.