Relative URL

Relative URL

from 0$

Relative URL is a Package Installer from the Open Source WP Plugins range Relative URL applies wp_make_link_relative function to links to convert them to relative URLs.

For more information about a tailored Package Installer like Relative URL please contact us directly.

Relative URL applies the wp_make_link_relative function to links (posts, categories, pages, etc.) to convert them to relative URLs. Useful for developers when debugging local WordPress instance on a mobile device (iPad, iPhone, etc.).

Notice: This plugin SHOULD be used for local development only. I haven’t tested on a production environment; it may work with some issues, like unwanted URLs in RSS feed or sharing URLs are replaced with relative URLs, etc.

More information please visit my site.

For example:

http://localhost:8080/wp/

Will be converted to:

/wp/

And..

http://localhost:8080/wp/2012/09/01/hello-world/

Will be converted to:

/wp/2012/09/01/hello-world/

And..

http://localhost:8080/wp/wp-content/themes/twentyeleven/style.css

Will be converted to:

/wp/wp-content/themes/twentyeleven/style.css

Then after activating this plugin, you can simply access your local instance using http://10.0.1.5:8888/wp/ on your iPad or other mobile devices without having styles and navigation issue.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

Relative URL

typePlugin
version0.1.7
descriptionRelative URL applies wp_make_link_relative function to links to convert them to relative URLs.