Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About Root Relative URLs
This WordPress plugin converts URL formats to root-relative URLs, making it easier to transition between different hosting environments and to debug and test from mobile devices. It also modifies the tinyMCE hooks to ensure that links and media embedded in your site only insert URLs from the root of your site, preventing any accidental references to the wrong resources. Please note that it does not support domain-based MU sites.Changelog
2.3
- Minor text edits
2.2
- Feature: Added blacklist entry for disabling root relative urls are specific pages. This is to help with third party plugins
- Bug fix: Added filter to prevent processing of email urls to root relative
2.1
- Bug fix: really fixed path undefined notice for urls 🙁 why @ symbol didn’t work is beyond me. I couldn’t reproduce the issue, but this was faster than debugging it.
2.0
- Enhancement: Added support for wp-include and WPML Multilingual CMS plugin. Thanks to @tfmtfm for the patch.
- Correction: Fixed changelog notes for version 1.8.
1.9
- Bug fix: Added more hooks to fix other urls. Thanks to @lcyconsulting for the solution.
1.8
- Bug fix: This patch fixes add media support. Thanks to @najamelan for the suggested solution.
1.7
- Bug fix: Added fix for users who have customized File Upload paths, image attachments now use root relative urls.
1.6
- Bug fix: I really wish php < 5.3 would die – fixed incompatible funciton reference.
1.5
- Bug fix: Fixed an infinite redirect problem caused by a core bug in WordPress – https://core.trac.wordpress.org/ticket/21824
1.4
- Bug fix: Discovered url fragment identifiers were being dropped entirely from urls, which broke a couple ajax behaviors – most noticeably the menu editor.
1.3
- Bug fix: Thanks to K?ri Norbert for noticing that ‘get_comment_author_url’ should not have been relativized
1.2
- Investigated issue with wp-cron… discovered it was an issue with a different plugin altogether, testing showed no problems with root relative urls.
- Updated plugin to massage rss content urls back to absolute site urls. This shouldn’t need to even happen but unfortunately feedburner and feedblitz don’t follow the html spec 🙁 Google Reader and a bunch of others do however, so there is hope of fixing this problem on feedburner & feedblitz’s end.
- Despite this ticket being not yet patched: https://core.trac.wordpress.org/ticket/19210 I have fixed the previous bugs related to comments_link_feed() or comment_link() functions.
- Found an interesting post from way back in 2003, when a woman by the name of Shirley Kaiser went through a similar pursuit to change MovableType from absolute only urls to root relative urls. 2003!!! Almost a decade ago someone else had to show an entire platform the power and flexibility of root relative urls! – (http://brainstormsandraves.com/archives/2003/09/07/relative_vs_absolute_urls/)
1.1
- Converted plugin to be < php5.3 compatible by removing usage of function references
1.0
- Initial creation of plugin