Articles of proxy

Where does wordpress gets its core and plugin updates

The context: I have a customer for whom I’ve installed WordPress in an internal network, behind several layers of the firewall. I need to have this WP installation updated on a regular basis The machine where it’s installed is behind a proxy (all proxy parameters are set in WordPress) But in order for my WP […]

WP API and Proxy

I’m looking to implement a WordPress API service using the WP REST API plugin. However, I do not want the frontend to access the API directly so I’m opting to implementing an API Proxy. Can the WP REST API work behind a proxy? Has anyone ever used the WP REST API behind a proxy? Can […]

Updated to version 3.8 and Admin pages are very slow. How to diagnose problem?

I manage a large multi site WordPress installation with about 300 hundred users and blogs. The server is blocked from making internet requests, so I have defined a proxy service in wp-config.php ( WP_PROXY_HOST and WP_PROXY_PORT ) A few weeks ago, I upgraded to version 3.8. Things seemed to go well, but almost immediately I […]

Proxy not working with Requests::request_multiple()?

I try to send async multiple requests with proxy option by built-in WP Class Requests, but it’s not working. $options = array( ‘proxy’ => $proxy ); Single Request, it’s working, so the proxy itself is working properly. $s = Requests::request($link1, array(), array(), ‘GET’, $options); The result of var_dump($s): object(Requests_Response)[1637] public ‘body’ => string ‘<!doctype html><html […]

How can I change permalinks to use a different domain and path from where the blog is hosted?

Here’s my situation: I’m hosting my blog at blog.foo.com. I have a completely different app on foo.com. I want my blog url to be foo.com/blog. I’ve set up a reverse proxy on foo.com so that foo.com/blog/123 is fetched from blog.foo.com/123. This is working. The problem is that all the links generated in the blog still […]

Mixed Content with SSL, wordpress behind a reverse proxy

I ran into mixed content with SSL issues. I’ve applied for Let’s encrypt SSL certificate for my test wordpress site behind a reverse proxy(articaproxy). The same SSL certificate has been deployed in reverse proxy server and wordpress virtual host. The reverse proxy http/https redirect works fine. I forced the siteurl and home url to https […]

WordPress behind Proxy – Mixed Content

My Server Env for a wordpress site is as follows: ———- ——— ————- | Client | <– HTTPS –> | Proxy | <– HTTP –> | WordPress | ———- ——— ————- The Problem is that the WordPress Site itself is served internally over HTTP but the Client communicates over HTTPS with the Proxy. Since WordPress […]

302 redirect to signup with nginx reverse proxy

I have a working multisite install configured in Apache. The server is a Debian GNU/Linux 8 amd64 and WordPress is version 4.6.1. Apache is version 2.4.23 as available in the Debian repos. It’s a live site and with Apache only everything is ok. I’m trying to configure it so that it works with NGINX as […]

WP-CLI alias: connect with ssh proxy

I have a wp-cli.yml file that defines an alias for a remote host: @origin: ssh: myserver.example.com path: /path/to/htdocs This would normally allow me to use wp @origin command to run remote commands on the other host. In one case, however, the remote host is only visible through an SSH proxy, so my system has an […]

How to use the HTTP API with a Proxy?

If I want to route a HTTP request through a local (alias: on the current server) Proxy, how would I go around this? The allowed Proxy settings for the wp-config.php are the following: # HTTP Proxies # Used for e.g. in Intranets # Fixes Feeds as well # Defines the proxy adresse. define( ‘WP_PROXY_HOST’, ‘127.0.84.1’ […]