The plugin makes WordPress more friendly to nginx.
|Author:||Vladimir Kolesnikov (profile at wordpress.org)|
|WordPress version required:||2.5|
|WordPress version tested:||3.2.1|
|Added to WordPress repository:||15-04-2009|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||31 106|
Click to start download
The plugin solves two problems:
- When WordPress detects that FastCGI PHP SAPI is in use, it
disregards the redirect status code
wp_redirect. Thus, all 301 redrects become 302 redirects which may not be good for SEO. The plugin overrides
wp_redirectwhen it detects that nginx is used.
- When WordPress detects that
mod_rewriteis not loaded (which is the case for nginx as it does not load any Apache modules) it falls back to PATHINFO permalinks in Permalink Settings page. nginx itself has built-in support for URL rewriting and does not need PATHINFO permalinks. Thus, when the plugin detects that nginx is used, it makes WordPress think that
mod_rewriteis loaded and it is OK to use pretty permalinks.
The plugin does not require any configuration. It just does its work. You won't notice it — install and forget.
WARNING: nginx must be configured properly to support permalinks.
None yet. Be the first to ask.
- Added code to prevent path disclosure
- Updated nginx Configuration section to reflect the changes necessary for WordPress 3.0+
- Detects nginx when
server_tokensis off (props Serge Pokhodyaev)
- Better HTTPS handling
- Updated “nginx Configuration” section
- Fixed a bug with multiple calls to
- Code refactoring using PHP code optimization methods
- Supported WP versions: 2.5-2.9
- Added experimental PHP4-compatble version of the plugin
- Added status code check to
- First public release