Make your own Proxy Site using WordPress

If you are unable to access a particular website, either due to government censorship (for instance, IMDB.com is blocked in China) or because your employer has blocked the site (hoping that it will make people more productive), you can use an online proxy server to quickly and easily bypass the filters.

There are tons of proxies available online and most of them are free (supported by advertising), but if you would like to keep things under your own control, without revealing your tracks to a third-party website, you can build your own proxy site using WordPress.

Proxy Website The NYT website served through WordPress proxy (see the URL)

Turn your WordPress Site into a Proxy Server

It takes less than a minute to set things up and all you need is a website (or blog) running WordPress.org software and the free RePress plugin - ‘repress’ here is short for ‘repressive’ as in ‘repressive regimes.’

Step 1: Make sure that Permalinks are enabled for your WordPress installation. Open your WordPress admin dashboard, choose Settings -> Permalinks and select any format for your Permalinks other than the default option. Save the changes.

Step 2: From the dashboard itself, go to Plugins -> Add New and search for Repress in the WordPress plugin repository. Install and activate the plugin.

Step 3: Next we need to whitelist website domains that should be accessible though our new WordPress based proxy server. Go to Settings -> Repress and add one or more domain names that you would like to access from work. Save.

Proxy Web Domains Add web domains that you like to serve through the WordPress Proxy

Your proxy server is now ready for use. If your WordPress site URL is abc.com, you can access a site like nytimes.com using the URL http://abc.com/proxy/nytimes.com. All the internal links on the NYT website are rewritten to be served though the proxy site.

Also see: Setup Proxy Server with Google App Engine

Internally, this proxy server is based on the open-source PHPProxy project but it is easier to deploy since it uses the WordPress plugin architecture. The proxied web pages are served with the NoIndex, NoFollow header and hence search engines are unlikely to notice them.

That said, it might be a good idea to deploy this on a separate WordPress install as too many proxy requests may put strain on your main website.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.