Home > By category > Scripts >Modules > Root Relative URLs

Root Relative URLs

  • Downloads: 
  • Views: 
  • Rating:

A WordPress plugin that converts all URL formats to root-relative URLs to enable seamless transitioning between staging/production host environments and debugging/testing from mobile devices, without the use of hackish tactics like textual find-replace strategies or risky hosts/NAT spoofing strategies.

With Root Relative URLs you can browse your development site from http://localhost/ or or from a named network resource like http://mycomputername/ without worrying about links redirecting you back to your site's URL.

This plugin also modifies the tinyMCE hooks so links and media embedded with built-in tools will only insert URLs from the first forward slash after the domain (i.e. the root of your site.) This means when you push content changes to a staging or production environment they are guaranteed to reference the correct target instead of accidentally referencing a production resource in development or, worse-yet, a development-exclusive resource in production.

It supports path-based MU Installations, but does not support domain-based MU sites due to architectural deficiencies in the WordPress core.


Upload the plugin to the /wp-content/plugins/ directory

Add the following entries to your wp-config.php file before the "That's all, stop editing!" comment:

<!--code1--><!--ecode1-->define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
dlT dlT dlT dlT define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
dlT dlT dlT dlT define('WP_CONTENT_URL', '/wp-content');
dlT dlT dlT dlT define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);<!--code2--><!--ecode2-->

Activate the plugin through the 'Plugins' menu in WordPress Admin
You're done! Now you can happily browse and manage your site from any URL, including an IP address if you wish.

Free download from Shareware Connection - A WordPress plugin that converts all URL formats to root-relative URLs to enable seamless transitioning between staging/production host environments and debugging/testing from mobile devices, without the use of hackish tactics like textual find-repla

Publisher: marcuspope | License: Shareware
Version: 1.2 | Size: 31 KB | Platform: PHP, Scripts
Released Date: 13-06-2013 | Rating: 0 | Title: Root Relative URLs

Author Url: http://www.wordpress.org/plugins/root-relative-urls/
Program Info Url: http://www.wordpress.org/plugins/root-relative-urls/
Download Url: http://downloads.wordpress.org/plugin/root-relative-urls.zip

More downloads from Root Relative URLs publisher marcuspope:

Content Molecules - In the web marketing/publishing industry a content molecule

Root Relative URLs keywords:
Root Relative URLs related downloads:

Absolute-to-Relative URLs - If you are looking for a plugin that automatically converts absolute URLs to relative URLs, check out my other plugin WP-HTML-Compression as it will soon have this feature

Absolute URLs - This very simple module causes all of your site's internal URLs to be rendered as absolute URLs (e.g., "http://mysite/node/whatever") instead of relative URLs ("/node/whatever").

NET Win HTML Editor Control - .NET HTML Editor control for Windows Applications (GET HTML/XHTML, or SET Html Content). Spell Checker, customizable toolbar, featured class members, GUI CSS Builder, Source editing and lots of features are just there.Supports Relative URLs.

Online Shop Software Storedit - The online shop software is suitable for any home and is an optimal, forward-shop software including Content Management System (CMS), customer management, download items, coupon generator, cross-selling, billing, inventory control, affiliate program

TuNetPass - Some evil organize block user' internet access by blocking urls and services, or they moniter content of transfering data.

Shareware Connection periodically updates pricing and software information of 'Root Relative URLs' from company source 'marcuspope' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Root Relative URLs' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Root Relative URLs.

New Reviews

WebAcappella - Web design sector has witnessed several trends and technological innovations affect website development in big ways. With time, designing websites has become easier. Nowadays, you can find web design software that nearly eliminates the need to ...

FileStream TurboBackup - Nowadays, data security and backup have become commonplace activity for nearly all PC users. You need to backup precious data either in external media or cloud storage services to evade circumstances like hard disk failure or malware invasion. ...

PCMark 8 - Not every PC user would have penchant for running new benchmarks and benchmarking software in their computers. It is only hardcore gamers and seasoned users who like tinkering around with various settings in PC benchmarking tools. Such apps also ...

CyberGhost VPN - There are so many ways available to browse the web nowadays. You can use a plethora of devices and pick from various service providers to get online. However, tech savvy users resort to additional measures to access the internet without being ...

Undela - Computers users may lose data owing to a number of reasons. Data loss caused by hardware failure does not take place regularly. However, there are many instances when you may end up deleting files and folders by mistake. In shared computers, ...

Video Editor - With advancements in both computer software and hardware, average users are getting into activities that were hitherto reserved for professionals. There are several video editing tools aimed at casual users as well. While professional users ...

TrustPort Tools - Nowadays, PC users need to deal with several types of third party apps to ensure security and privacy of data. From encrypting files to getting rid of sensitive data, the needs can be numerous. There are many such tools that can be used in this ...

PhotoRescue PC EN - When you deal with computers and data, recovering deleted or lost data may become a necessity sometimes. The same thing can happen with digital images. When that happens, you need to use third party image recovery software. One such example is ...

Tiranium Premium Security 2014 - Antivirus or Internet security software has become a mandatory requirement for computer users, including casual users and network administrators. However, it is quite commonplace for average PC users to get a little confused when selecting a ...

Stellar Speedup Mac - While Macintosh computers are known for their stellar speed and multitasking prowess they also become subjected to pitfalls of usage. After prolonged use, junk files pile up and bits of installed apps remain scattered on the hard disk. These, ...

New Downloads

Music Editor Free 2015

Music Editor Free is an
audio-editing tool for music
production that supports many
popular audio formats and
features ...

Hospital Management System

HR Management System,
developed by Ambit
Technologies Pvt. Ltd. is a
comprehensive Human Resource
Management System ...

Modis Tile pixel

MODLAND Tile Calculator


RDFS.rb is a forward-chaining
inference engine that
implements the RDF Schema
(RDFS) entailment rules.

Nonlinearity Detection
using Zeroed Early-Time

Nonlinearity detection scheme
based on zeroing the initial
time response over various
intervals and computing the
FFT of ...


We found that there was a
shortage of flash video
wrapper players in the world
that were released under a
fully-Free license.

In Context Admin Notes

In Context Admin Notes allows
Administrators to leave
themselves and other Admins
notes inside of posts and

Flood Fill

The flood fill will alter all
values of 0 to one flood
filling from a start point

EWMA St.Dev.

This code calculates the
Exponentially Weighted Moving
Average Standard Deviation


Theora is a free and open
video compression format from
the Xiph.org Foundation.

pop-up file viewer

This is a little pop-up file


Tools for parsing and using
INI-style files A set of
tools for parsing and using
.ini-style files, including an
abstract ...