WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Relative URL

Relative URL applies wp_make_link_relative function to links to convert them to relative URLs.

Relative URL applies wp_make_link_relative function to links (posts, categories, pages and etc.) to convert them to relative URLs. Useful for developers when debugging local WordPress instance on a mobile device (iPad. iPhone, 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://192.168.0.1:8080/wp/ on your iPad or other mobile devices without having styles and navigation issue.

Notice: This plugin is mainly used for local development. Haven't tested on a production environment, but it should work, no harm to your sever.

Requires: 2.1.0 or higher
Compatible up to: 3.9
Last Updated: 2013-12-19
Downloads: 4,015

Ratings

4 stars
4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1