Relative URL applies wp_make_link_relative function to links to convert them to relative URLs.
As of April 2026, Relative URL is a WordPress admin plugin with 3.0K+ active installations and a 4.2/5 rating from 26 reviews. It has been downloaded 108K+ times in total. Requires WordPress 2.1.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 4 years ago — may have compatibility concerns. Downloads are down 26% this week. Top alternative: Loginizer.
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/twe…Unfortunately you cannot create posts or pages when version 0.1.8 of this plugin is active with WordPress 5.9.1
Not doing anything with WP 5.8. And sadly, this is the 3rd and the last available plugin I tried with no luck.
This makes life easier for local development.
I use it with ngrok to show my projects to my clients 🙂
That works well!
Do not forget to deactivate it when you put your website on the final server online 🙂
Using WP 5.0 and Divi Theme, this works great, allowing me to deliver site via AWS CloudFront
Relative url
| WordPress | 2.1.0+ requiredTested up to 5.8.13 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.