Created
April 12, 2016 18:38
-
-
Save bdeleasa/7f1ca94c146ce772eefa1c39b2b2ecec to your computer and use it in GitHub Desktop.
Disable Canonical URL Redirection WP Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Disable Canonical URL Redirection | |
| Description: Disables the "Canonical URL Redirect" features of WordPress 2.3 and above. | |
| Version: 1.0 | |
| Author: Brianna Deleasa | |
| Author URI: http://chooserethink.com | |
| */ | |
| remove_filter('template_redirect', 'redirect_canonical'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment