---
title: "WPML: Getting automatic updates while blocking external HTTP requests"
author: "Alex"
date: 2017-08-03
lang: en
source: https://voneff.de/en/wpml-getting-automatic-updates-while-blocking-external-http-requests/
---

# WPML: Getting automatic updates while blocking external HTTP requests

Due to security reasons I'm blocking external HTTP requests on many of my sites through a setting in wp-config.php. See [this article](https://kinsta.com/blog/wp-config-php/) for further exploration on working security through wp-config.php. Here's the setting:

This measure prevents a couple of plugins – mainly premium plugins that are not available through the offical WordPress plugin repository – from fetching their updates.

This was the case as well for the popular WPML multi-language plugin.

The fix is easy – by allowing WordPress to call only certain servers. In this case it is the server d2salfytceyqoe.cloudfront.net – as detailed [here in the WPML support forums](https://wpml.org/forums/topic/registration-problem/#post-1249311). This is how it looks in the wp-config.php:

You probably want to add more servers here, like *.wordpress.org et al.

***
UPDATE NOV. 25, 2017:

In order to reveive updates for the popular [Toolset plugin suite](https://wp-types.com/) by the makers of WPML you need to whitelist the following two servers, [according to their support](https://wp-types.com/forums/topic/getting-toolset-updates-while-blocking-external-http-requests/):
