Jump to content

Recommended Posts

Posted

Hi,

 

Hopefully someone knows the answer to this as it's driving me mad. I can't get wordpress to see the internet via the proxy server.

 

I have edited wp-config.php as per: WordPress Proxysupport |

 

But this doesn't work, RSS feeds don't load and plugins/themes cant be retrieved.

 

Has anybody come across this before?

 

Thanks.

Posted

I had a nightmare getting this working too, one install I couldn't work out what was happening so had to flatten and reinstall.

 

Sounds daft, but positioning is critical in the wp-config.php file, make sure it isn't below the "That's all, stop editing" line, not the bottom of the file otherwise it won't apply them and also don't rely on the Frontpage widgets to see if it's working or not - I found some blogs took a day or 2 before the widgets started to update correctly. Searching for a plugin/theme was always a better test.

  • Thanks 1
Posted
Thanks for this. I'll take a look at the config file on Monday. I have a feeling I have the proxy settings right at the bottom of the file.
Posted
Mixed success, the frontpage widgets work but can't search for a theme or plugin. I am about to give up on this ! It's so annoying.. bloody proxy server ..mumble grumble..
Posted

Strange....

 

If your still having issues tomorrow I'll try and take a look at the config I've used for our internal Wordpress Networks and post it up, I did get it down to a fine art but can't remember the details.

  • Thanks 1
Posted
Strange....

 

If your still having issues tomorrow I'll try and take a look at the config I've used for our internal Wordpress Networks and post it up, I did get it down to a fine art but can't remember the details.

 

Yep, still not working. Would be great if you could post up what you have.. Thanks.

Posted

Spotted today, I don't have a space after the comma proxy_host and proxy_port

 

I don't think that'll make a difference, however thinking about it there was something very particular about getting it to work. I'll keep on thinking, however it was something like that...

  • Thanks 1
Posted

I cannot really answer related to wordpress and proxies

 

But whenever I have setup ubuntu for squid/dansguardian behind our LA proxy I always have issues with getting wget to work.

 

So I always set server wide proxy settings in /etc/environment

 

See example details here

 

Everything then seems to work fine after that!

Posted

Yeah, I'm pretty sure Wordpress uses Curl to try and pull the files it requires.

 

sudo apt-get install php5-curl

should hopefully get you sorted. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...