Linux 软件免费装

nginx Compatibility

开发者 vladimir_kolesnikov
更新时间 2011年7月5日 01:25
捐献地址: 去捐款
PHP版本: 2.5 及以上
WordPress版本: 3.2

标签

nginx pretty permalinks FastCGI

下载

0.2.5 0.1 0.1.1 0.2 0.2.1 0.2.2 0.2.3 0.2.4

详情介绍:

The plugin solves two problems:
  1. When WordPress detects that FastCGI PHP SAPI is in use, it disregards the redirect status code passed to wp_redirect. Thus, all 301 redrects become 302 redirects which may not be good for SEO. The plugin overrides wp_redirect when it detects that nginx is used.
  2. When WordPress detects that mod_rewrite is 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_rewrite is 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.

安装:

  1. Upload nginx-compatibility folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress. The plugins comes in two flavors: PHP4 (experimental) and PHP5. Please activate the flavor that matches your PHP version.
  3. That's all :-)

更新日志:

0.2.5 0.2.4 0.2.3 0.2.2 0.2.1 0.2 0.1.1 0.1