Changeset 595485
- Timestamp:
- 09/06/2012 05:20:02 PM (14 years ago)
- Location:
- root-relative-urls/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
sb_root_relative_urls.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
root-relative-urls/trunk/readme.txt
r570702 r595485 2 2 Contributors: marcuspope 3 3 Donate link: http://www.marcuspope.com/ 4 Tags: url, links, admin, multisite, content, permalink 4 Tags: url, links, admin, multisite, content, permalinks, migration, absolute urls 5 5 Requires at least: 3.2.1 6 6 Tested up to: 3.2.1 … … 19 19 It supports path-based MU Installations, but does not support domain-based MU sites due to architectural deficiencies in the Wordpress core. 20 20 21 Version 1.5 fixes an infinite redirect problem that is a result of a core bug in WordPress. If you have problems with the <!--more--> tag or permalinks for custom post types, please read the FAQ or new Install Steps for support. 22 21 23 == Installation == 22 24 … … 30 32 31 33 1. Activate the plugin through the 'Plugins' menu in WordPress Admin 34 1. Save your permalink settings twice in a row (Admin > Settings > Permalinks : Save Changes) x2 32 35 1. You're done! Now you can happily browse and manage your site from any URL, including an IP address if you wish. 33 36 34 37 == Frequently Asked Questions == 38 39 = Infinite 301 Redirects, Custom Post Type Content and --More-- links = 40 41 There was a long outstanding support issue regarding these problems that I think is resolved from my plugin perspective. 42 43 The core issue (http://core.trac.wordpress.org/ticket/21824) is still not fixed, and the temporary workaround for that problem is to go into Admin > Settings > Permalinks, and click "Save Changes" twice in a row, letting the page reload between each save. 44 45 This should fix the rewrite rules used internally to WordPress to route URLs to custom post content, more links. 35 46 36 47 = What is a Root-Relative URL? = … … 98 109 == Changelog == 99 110 111 = 1.5 = 112 * Bug fix: Fixed an infinite redirect problem caused by a core bug in WordPress - http://core.trac.wordpress.org/ticket/21824 113 100 114 = 1.4 = 101 115 * Bug fix: Discovered url fragment identifiers were being dropped entirely from urls, which broke a couple ajax behaviors - most noticeably the menu editor. -
root-relative-urls/trunk/sb_root_relative_urls.php
r570702 r595485 9 9 Author: Marcus E. Pope, marcuspope 10 10 Author URI: http://www.marcuspope.com 11 Version: 1. 411 Version: 1.5 12 12 13 13 Copyright 2011 Marcus E. Pope (email : me@marcuspope.com) … … 264 264 3 265 265 ); 266 267 add_filter('redirect_canonical', function($redirect, $requested) { 268 //Fixes infinite redirect loop caused by WP Core bug: http://core.trac.wordpress.org/ticket/21824 269 if (MP_WP_Root_Relative_URLS::proper_root_relative_url($redirect) == 270 MP_WP_Root_Relative_URLS::proper_root_relative_url($requested)) { 271 return false; 272 } 273 }, 10, 2); 266 274 } 267 275 }
Note: See TracChangeset
for help on using the changeset viewer.