Simplifying Business Workflows
Development

Using WordPress auto-updates from behind a proxy

I had a WordPress installation that mysteriously stopped updating one day. I would click the “Check for updates” button and it would say that my installation and all plugins were up to date, when they clearly weren’t. The process didn’t display any error messages and my logs offered no clues.

After a few weeks of trying to figure out what was going on, while performing all updates manually in the meantime, I accidentally came across the solution.

I had installed an unrelated piece of software on my local machine and was unable to connect to the remote network. When I contacted our IT department they informed me that everything now has to go through a local proxy server or it wouldn’t work. As soon as I heard this I immediately attempted the same in my wp-config.php file, and updates immediately started working again.

Here’s the code I used in the wp-config.php file:

Hopefully this can save someone else some time and frustration!

Posted on June 11th, 2013 by Dan Z in Development, Wordpress No Comments

Leave a Reply




You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">