plugin-icon

Permalink Fix & Disable Canonical Redirects

作者:ccheney·
This plugin makes WordPress' default permalinks behavior work on the Concentric/XO Communications shared hosting platform.
评级
2/5
版本
1.0
活跃安装
100
最后更新
Oct 18, 2015

This plugin makes WordPress’ default permalinks behavior work on the Concentric/XO Communications shared hosting platform. It also disables the canonical redirection feature as it causes an endless redirection loop outside of wp-admin. This plugin also appears to resolve an issue with a recent release of WordPress 3.1 and IIS servers.

Description

This plugin ensures the REQUEST_URI variable is set during the initialization of WordPress, allowing permalinks to work correctly.

Installation

The REQUEST_URI variable is not set correctly by the server platform. This plugin builds each variation of REQUEST_URI by peicing together other available variables.

  1. Upload the ‘permalink-fix-disable-canonical-redirects-pack’ folder to the ‘wp-content/plugins/’ directory.
  2. Log into the WordPress dashboard http://example.com/wp-admin and activate the plugin.
  3. Setup your .htaccess file as described below, this is the most important step.
  4. Make sure the .htaccess file is setup properly. The server requires that you convert end of line characters to UNIX format (LF). Be sure to add a hard return after the last directive. See additional-instructions.rtf for a step-by-step.

    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

    1. If for some reason you’re using this plugin outside of the Concentric/XO shared hosting enviroment (assuming Apache) use the following .htaccess rules:

` RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Changelog

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.3.34
这个插件是可用的下载,适用于您的站点。