Title: Installation instructions useless
Last modified: August 21, 2016

---

# Installation instructions useless

 *  Resolved [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/installation-instructions-useless/)
 * I tryed several times this plugin but never could use PURGE while W3 Total Cache
   always worked. I burned my head with different vcl configurations, etc.. etc…
 * But finally i could make it works and i think that most of people will fall in
   exactly same issues because the installation instructions are incomplete.
 * Will be more more clear for people if you show into installation instructions
   that you have to add to wp.config.php the line:
    `define('VHP_VARNISH_IP','#.#.#.#');`
 * At the moment into plugin “installation tab” says: No WordPress configuration
   needed.
 * And that is totally false, most of Varnish installations needs to add the ip 
   127.0.0.1 because is how Varnish is installed by default in most of Linux distributions(
   Ubuntu, Debian, CentOS, …).
 * It´s only a suggestion, i´m sure that adding those installation instructions 
   to plugin “installation tab” help users to success installing this plugin.
 * [https://wordpress.org/plugins/varnish-http-purge/](https://wordpress.org/plugins/varnish-http-purge/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 3 months ago](https://wordpress.org/support/topic/installation-instructions-useless/#post-4699620)
 * > No WordPress configuration needed.
 * Well. That’s true. For 99.9999% of sites, there isn’t any config needed.
 * The define you noted is only needed if you’re putting another proxy in front 
   of Varnish (like CloudFlare). Which … well I don’t know why people put proxies
   in front of proxies, but hey.
 * You shouldn’t need to put in 127.0.0.1 in the define, though, at all, and it 
   makes me think you may have Varnish configured oddly, since if you’re using that
   redirect, then you can’t do this on your server either:
 * `curl -X PURGE "http://www.example.com/"`
 * See that’s all the plugin’s really doing. It’s automating that call. So if your
   site is setup that you can’t run a purge call direct to your domain, then yeah,
   that would be a problem. And a weird setup, in my experience.
 *  Thread Starter [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/installation-instructions-useless/#post-4699747)
 * My site not allow external PURGE requests from the domain itself or public IP.
   From my point of view allow that is a very very bad practice and you can fall
   into security issues.
 * If you allow external PURGE requests, an attacker can clear all the cache or 
   who knows what can happens tomorrow if someone discover a vulnerability with 
   malformed PURGE requests… i´m paranoic perhaps but in security all paranoia is
   an extra 😛
 * I´m not using any proxy, i simply restricted the PURGE requests to 127.0.0.1 
   or localhost.
 * And i continue thinking the same, most of sites not will work without editing
   wp-confip.php, Why? it´s very simple… check default config of Ubuntu, Debian 
   or CentOS Varnish installations, check Varnish documentation, etc… All VCL codes
   an examples never allow external PURGE requests by default.
 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 3 months ago](https://wordpress.org/support/topic/installation-instructions-useless/#post-4699750)
 * I think you did something odd, since I know we block external purge calls too
   and we don’t need to define that IP address at all. You’re the only person I’ve
   heard of having this issue.
 * The purge isn’t coming ‘externally’ – it’s coming via localhost. The only reason
   you have to define that ip is whenit can’t (like you have a proxy and your IP
   doesn’t match the domain… Which I have no idea why you’re claiming your site 
   doesn’t. I use this on Ubuntu and Debian and have no issues.
 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/installation-instructions-useless/#post-4699783)
 * I run a VPS using CentOS and this plugin runs perfectly with no WP config required.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Installation instructions useless’ is closed to new replies.

 * ![](https://ps.w.org/varnish-http-purge/assets/icon-256x256.png?rev=3027185)
 * [Proxy Cache Purge](https://wordpress.org/plugins/varnish-http-purge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/varnish-http-purge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/varnish-http-purge/)
 * [Active Topics](https://wordpress.org/support/plugin/varnish-http-purge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/varnish-http-purge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/varnish-http-purge/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Radices](https://wordpress.org/support/users/radices/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/installation-instructions-useless/#post-4699783)
 * Status: resolved