http://wordpress.org/extend/plugins/permalink-fix-disable-canonical-redirects-pack/
Use: WordPress Plugin
Contributors: Chris Cheney, Nick Schalk, Michael Szczepanski
Plugin Name: Permalink Fix & Disable Canonical Redirects Pack
Plugin URI: https://github.com/ccheney/permalink-fix-disable-canonical-redirects-pack
Tags: 500 server error, parsing error, ashurbanipal, canonical redirection, cnchost, concentric, endless loop, endless redirection, home page loop, htaccess, permalinks, xo communications, xohost, concentric
Author URI: https://github.com/ccheney/
Author: Chris Cheney
Requires at least: 2.3
Tested up to: 4.3.1
Stable tag: 1.0.4
Version: 1.0.4
License: GPLv2
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.
This plugin ensures the REQUEST_URI variable is set during the initialization of WordPress, allowing permalinks to work correctly.
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.
- Upload the 'permalink-fix-disable-canonical-redirects-pack' folder to the 'wp-content/plugins/' directory.
- Log into the WordPress dashboard http://example.com/wp-admin and activate the plugin.
- Setup your .htaccess file as described below, this is the most important step.
- 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]
- If for some reason you're using this plugin outside of the Concentric/XO shared hosting enviroment (assuming Apache) use the following .htaccess rules:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
10/18/2015 Compatibility update
02/28/2011 Minor description & support URL tweaks.
02/17/2011 Fixed broken author support links. Added a description about canonical redirection.
01/07/2011 Added detailed instructions for users downloading the file directly instead of through the wp-admin interface. Added htaccess file example.
Final Release - 12/16/2010 Merging of the required disable canonical redirection plugin by Mark Jaquith
Plugin Development - 12/06/2010 Script was wrapped into a WordPress Plugin for future proofing and ease of use contributed by Nick Schalk
Internal Release - 03/20/2010 Initial REQUEST_URI script written