WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Root Relative URLs

Converts all URLs to root-relative URLs for hosting the same site on multiple IPs, easier production migration and better mobile device testing.

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

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: http://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

Requires: 3.2.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-9
Downloads: 17,046

Ratings

3 stars
3.5 out of 5 stars

Support

0 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1 100,1,1
0,1,0
100,1,1 100,1,1 100,1,1
50,2,1
0,1,0
67,3,2
100,1,1
50,2,1
0,1,0