Categories

  • Access & Security 95
  • Administration 171
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Relative URL

    Add to List

    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.

    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings4.2
    Votes26
    Downloads110,434
    Last Updated1872 Days ago
    Published14 years ago

    Report Wrong Category!