Nginx Helper

Wordpress Plugin
Download latest - 2.2.2

Download Stats

Today 327
Yesterday 577
Last Week 3,421
All Time 364,602
Banner 772x250

  1. Removes index.php from permalinks when using WordPress with nginx.
  2. Adds support for purging redis-cache when used as full-page cache created using nginx-srcache-module
  3. Adds support for nginx fastcgi_cache_purge & proxy_cache_purge directive from module. Provides settings so you can customize purging rules.
  4. Adds support for nginx map{..} on a WordPress-multisite network installation. Using it, Nginx can serve PHP file uploads even if PHP/MySQL crashes. Please check the tutorial list below for related Nginx configurations.

Tutorials

You will need to follow one or more tutorials below to get desired functionality:

  • Nginx Map + WordPress-Multisite + Static Files Handling
  • Nginx + WordPress + fastcgi_purge_cache
  • Nginx + WordPress-Multisite (Subdirectories) + fastcgi_purge_cache
  • Nginx + WordPress-Multisite (Subdomains/domain-mapping) + fastcgi_purge_cache
  • Other WordPress-Nginx Tutorials

Releases (68 )

Version Release Date Change Log
2.2.2 2020-05-04
  • Add action rt_nginx_helper_after_purge_all to fire after the entire cache has been purged whatever caching type is used. #232 - by Julien-prrs
  • Fix issue where settings not saved because the button's value localized (for any language). #236 - by umeshnevase
  • Fix issue where "Custom Purge URL" option displays previous value. #240, #241 - by KirillGritcenko
  • Tested with WordPress 5.4
2.2.1 2020-01-07
  • Fix timeout issue on FastCGI cache purge. #229 - by chandrapatel, thrijith
2.2.0 2020-01-06
  • Add filter rt_nginx_helper_fastcgi_purge_suffix to change purge suffix for FastCGI cache. #141 - by stayallive
  • Add filter rt_nginx_helper_fastcgi_purge_url_base to change purge URL base for FastCGI cache. #141 - by stayallive
  • Update our code to be in line with WordPress Coding standards in various places. #209, #225 - by abhijitrakas, chandrapatel
  • Check and verify purging is enabled before purging cache. #168 - by jaredwsmith
  • Hide Purge Cache button in admin bar when purge is disabled. #218, #219 - by mbautista, chandrapatel
  • Don't add Nginx Timestamp on WordPress login page. #204, #220 - by peixotorms, chandrapatel
2.1.0 2019-08-01
  • Add wildcard cache key deletion for device type cache purge. #203 - by pradeep910
  • Add filter rt_nginx_helper_purge_url to filter the URL to be purged. #182 - by todeveni
  • Add filter rt_nginx_helper_purge_cached_file to filter the cached file name. #182 - by todeveni
  • Add filter rt_nginx_helper_remote_purge_url to filter remote URL to be purged. #182 - by todeveni
  • Add action rt_nginx_helper_after_fastcgi_purge_all to fire after the FastCGI cache has been purged. #182 - by todeveni
  • Add action rt_nginx_helper_after_redis_purge_all to fire after the Redis cache has been purged. #182 - by todeveni
  • Add action rt_nginx_helper_purged_file to fire an action after deleting file from cache. #182 - by todeveni
  • Add action rt_nginx_helper_before_remote_purge_url to fire an action before purging remote URL. #182 - by todeveni
  • Add action rt_nginx_helper_after_remote_purge_url to fire an action after remote purge request. #182 - by todeveni
  • Fix issue with post purge on new comments. #175 - by jinschoi
  • Fix Nginx Timestamp being added to invalid content type. #200 - by thrijith
  • Handle filesize exception while truncating nginx.log file. #206 - by peterjanes
2.0.3 2019-04-08
  • Update article link for fastcgi cache purge. #187 - by gagan0123
  • Fix map generation issue on SUBDOMAIN_INSTALL. #189 - by ChrisHardie
2.0.2 2019-03-07
  • Fix undefined error when we install the plugin for the first time and if Redis is not available. #162 - by Joel-James
  • Remove extra spacing for nginx map section. #169 - by ShashwatMittal
  • Purge Cache menu in front-end admibar now purge current page. #173 - by imranhsayed
  • Fix issue where cache is not cleared when page is swiched from publish to draft. #174 - by imranhsayed
  • Fix an issue where custom purge url option does not show newlines when using multiple urls. #184 - by mist-webit
2.0.1 2018-11-29
  • Fix settings url for multisite: use network_admin_url to get network correct settings url. #163 - by Joel-James
  • Fix php error with arbitrary statement in empty - Prior to PHP 5.5. #165 - by PatelUtkarsh
2.0.0 2018-11-19
  • Fix typo causing failure to purge on trashed comment. #159 - by jinschoi
  • Refactor Plugin structure and remove unused code. Initial code by chandrapatel, #153 - by jinschoi,
  • Run phpcs and fix warning. #158
  • Make compatible with EasyEngine v4.
1.9.12 2018-09-24
  • Allow override Redis host/port/prefix by defining constant in wp-config.php #152 - by vincent-lu
1.9.11 2018-04-11
  • Fixed issue where permalinks without trailing slash does not purging #124 - by Patrick
  • Check whether role exist or not before removing capability. #134 - by 1gor
1.9.10 2017-06-21
  • Fixed issue where Nginx cache folders deleted on purge. #123 - by johan-chassaing
  • Fixed Redis purge all feature for installation where WordPress lives in a separate folder. #130 - by pySilver
1.9.9 2016-12-22
  • Fix wp_redirect issue. #131 - by matt-h
1.9.8 2016-12-08
  • Fixed homepage cache cleared when WPML plugin used #116 - by Niwreg
  • Fixed Purge Cache clears the whole Redis cache #113 - by HansVanEijsden
  • One log file for all site in WPMU.
  • Single site Redis cache purge when click on Purge Cache button in WPMU #122 - by Lars Stttrup Nielsen
  • Fixed notices and warnings.
1.9.7 2016-05-26
  • Remove timestamp if cron or wp-cli #114 - by samedwards
  • Fixed notices and warnings.
1.9.6 2016-04-20
  • Fixed cache purging on post publish.
  • Error fixed when redis server not installed.
1.9.5 2015-07-30

Added custom purge URL option.

1.9.4 2015-07-15
  • Added redis server connection timeout.
  • Added RedisException handling.
1.9.3 2015-07-10
  • Added PhpRedis API support.
  • Added redis-lua script support to purge complete cache very fast.
  • Added composer.json support
  • Fixed cache purging link in admin bar.
  • Updated the initial settings to include the 'purge_method' #99 - by gagan0123
1.9.2 2015-07-03

Fix purging for Redis cache and FastCGI cache

1.9.1 2015-07-02

Fix purging for custom post types

1.9 2015-07-01

Added Redis cache purge support.

1.8.13 2015-06-29

Fixed PHP notice for an undefined index when "Enable Logging" is not set.

1.8.12 2015-06-12

Updated readme and changelog

1.8.10 2015-04-27
  • Security bug fix
1.8.9 2015-04-21
  • Default setting fix and wp-cli example correction - by bcole808
1.8.8 2015-04-21
  • Added option to purge cache without nginx purge module - by bcole808
1.8.7 2015-04-11
  • Added action rt_nginx_helper_purge_all to purge cache from other plugins - by gungeekatx
1.8.6 2015-04-11
  • Removed wercker.yml from plugin zip/svn.
  • Updated readme
1.8.5 2015-04-11
  • Added WP_CLI support - by Udit Desai
1.8.4 2014-12-08
  • Fix undefined index issue and correct "purge_archive_on_del" key
1.8.3 2014-11-13
  • Tested with WordPress 4.0
  • Fix issue #69
1.8.1 2014-05-19
  • Tested with wordpress 3.9.1
  • Fix confilct with Mailchimp's Social plugin
1.8 2014-01-02
  • New admin UI
  • Fix missing wp_sanitize_redirect function call
1.7.6 2013-12-23
  • Update Backend UI
  • Added Language Support
1.7.5 2013-09-09
  • Fixed option name mismatch issue to purge homepage on delete.
1.7.4 2013-09-02
  • Disable purge and stamp by defualt.
1.7.3 2013-08-07
  • Suppressed unlink related error-messages which can be safely ignored.
  • Fixed a bug in purge-all option.
1.7.2 2013-05-07
  • pjv fixed bug in logging file.
1.7.1 2013-04-24
  • Fixes bug in true purge and admin screen.
1.7 2013-04-23
  • True full cache purge added.
  • Map file location changed to uploads' directory to fix http://rtcamp.com/support/topic/plugin-update-removes-map-file/
  • Log file location also changed to uploads' directory.
1.6.13 2013-03-15
  • pjv changed the way home url is accessed. Instead of site option, the plugin now uses home_url() function.
1.6.12 2013-03-09
  • telofy added purging of atom and RDF feeds.
1.6.11 2013-02-08
  • Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
1.6.10 2013-01-29
  • Cleaned up code.
  • Added credits for code.
  • Improved attachment purging.
1.6.9 2013-01-11
  • Added Faux to Purge all buttons, to avoid misleading users.
1.6.8 2012-12-21
  • daankortenbach added Purge Cache link to wp-admin bar
1.6.7 2012-12-18
  • Better content-type detection for cache verification comments (by jk3us
1.6.6 2012-12-17
  • Added Manual 'Purge all URLs' functionality (by darren-slatten
1.6.5 2012-12-14
  • Fixed typo that interfered with archive purge settings. Thanks to Daan Kortenbach for pointing this out.
1.6.4 2012-11-09
  • Improved code for map generation to better conventions since the nesting confused some servers.
  • Added map update process to admin_init for frequent refreshes.
1.6.3 2012-11-02
  • Fixed duplicate entries.
1.6.2 2012-11-02
  • Another bug fix in the revised code for improved multisite and multidomain mapping.
1.6.1 2012-11-02
  • Fixed bug in the revised code for improved multisite and multidomain mapping.
1.6 2012-11-01
  • Revised code for improved multisite and multidomain mapping.
1.5 2012-10-31
  • Timestamp now only gets added to content-type text/html
  • Added option to toggle timestamp creation
1.4 2012-10-16
  • Fixed bug related to nomenclature of comment status that caused purge to fail.
1.3.9 2012-10-14
  • Removed extraneous headers.
1.3.8 2012-10-12
  • Fixed bug in single post/page/post-type purging code. Thanks to Greg for pointing this out here: http://rtcamp.com/support/topic/updating-post-nginx-helper-purge-cache-post/.
1.3.7 2012-10-10
  • Changed the action hook, back to 'shutdown' from 'wp_footer' to add verification comments.
  • Added a check to prevent adding comments to ajax requests,
1.3.6 2012-10-09
  • Changed the action hook, from 'shutdown' to 'wp_footer' to add verification comments. This was interfering with other plugins.
1.3.5 2012-10-08
  • Improved Readme.
  • Improved cache verification comments.
1.3.4 2012-10-06
  • Fixed duplicate entries generated for maps (Harmless, but doesn't look good!)
  • Added timestamp html comments for cache verification, as described here: http://rtcamp.com/tutorials/checklist-verify-wordpress-nginx-setup/
1.3.3 2012-10-05
  • Fixed map generation for multi domain installs using domain mapping plugin, where blog ids were not displayed.
1.3.2 2012-10-05
  • Fixed map generation for multi domain installs with domain mapping plugin
1.3 2012-10-04
  • Improved Readme
1.3.1 2012-10-04
1.2 2012-10-04
  • Fixed map generation error.
  • Fixed purging logic.
  • Fixed UI where purge settings were lost on disabling and re-enabling purge.
  • Minor Ui rearrangement.
1.0 2012-10-04