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


Overview
Compatibility
Installation instructions
Customer support & learning resources
Changelog
Main benefits
Converts links to relative
Facilitates local development
Improves mobile debugging
Simplifies local instance access
About this plugin
Categories: Utilities
Version: 0.1.8
Last updated: 11-08-2021
WordPress version: 2.1.0
Tested up to: 5.8.10
PHP version required: false
Languages:
Tags:
Learning resources: View resources
Overview
The Relative URL plugin for WordPress meticulously converts absolute URLs to relative URLs across various components such as posts, categories, pages, and more. This conversion is particularly beneficial for developers who are debugging local WordPress instances on mobile devices, seamlessly maintaining styling and navigation. Designed strictly for local development environments, the plugin ensures that URLs like "http://localhost:8080/wp/2012/09/01/hello-world/" are converted to "/wp/2012/09/01/hello-world/" for easier access on devices such as iPads or iPhones. However, it is advised against using this plugin in production environments as it may lead to issues like undesired URLs in RSS feeds or replacement of sharing URLs with relative URLs.
Simplifies Local Development
- Converts absolute URLs to relative URLs for easier local development.
- Helps developers debug local WordPress instances on mobile devices.
Improves Mobile Debugging
- Allows access to local instances on mobile devices without style and navigation issues.
- Facilitates testing on devices like iPads and iPhones.
Automatic URL Conversion
- Automatically converts URLs in posts, categories, pages, etc., to relative URLs.
- Reduces manual effort in changing URLs for local development.
Easy Access to Local Instances
- Enables seamless access to local WordPress instances using local network IP addresses.
- Ensures that styles and navigation work correctly on local instances.