WordPress behind a proxy: how to retrieve feeds

WordPress 2.3 is not yet available but I’m already awaiting WordPress 2.4. Why? Because it seems that we have to wait for its 2.4 release to find a way to set the parameters of a web proxy without trivially changing its source code.

In other words, before 2.4, if you want - for example - to retrieve feeds beyond your proxy, you have to edit wp-includes/class-snoopy.php changing at least the values of $proxy_host, $proxy_port and $_isproxy.

Last update: 2007-10-12

6 Comments

  1. nigel348
    Posted November 10, 2007 at 12:52 pm | Permalink

    You can also look at [web_proxy] for more details into this approach

  2. Posted November 12, 2007 at 8:51 am | Permalink

    nigel: you can’t set your WordPress scripts to use a web based proxy: that is a solution that works on the browser side.

  3. Posted April 30, 2008 at 6:11 am | Permalink

    Just upgraded to 2.5 and there still seems to be no option for a proxy. But your solution (which I couldn’t find anywhere on wordpress.org) worked perfectly.

    Thanks.

  4. Posted April 30, 2008 at 8:42 am | Permalink

    Shayne: I don’t know if this option is still missing or it is hidden somewhere in the source. Pleased to have been helpful, though. :)

  5. Posted August 24, 2008 at 11:50 am | Permalink

    I can’t figure out a way to do this in wp2.6 either. Wish someone would make this a parameter or something… or at least document it better.

  6. Posted August 28, 2008 at 12:58 pm | Permalink

    There is a ticket on their trac
    http://trac.wordpress.org/ticket/4011
    but it is still open and the indicated milestone is continuosly postponed.

Post a Comment

Your email is never shared. Required fields are marked *

*
*