i=== URLs Editor

i=== URLs Editor Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,384 downloads
i=== URLs Editor Icon

Try plugin: i=== URLs Editor

We'll create fresh WordPress site with i=== URLs Editor installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About i=== URLs Editor

A FUNCTION for use in shortening URL links. This plugin automatically does shorten URLs.

0


0


0


0


0

updated: 12 years ago
since: 12 years ago
author: Jozef Kapicak

Description

Before:
http://example.com/wp-content/themes/twentyten/style.css

After:
/wp-content/themes/twentyten/style.css

OR:

Before:
http://example.com/wp-content/themes/twentyten/style.css

After (adding “https”):
https://example.com/wp-content/themes/twentyten/style.css

If you are looking for a plugin that automatically converts absolute URLs to relative URLs, or for a plugin that changes URLS for src & href URL attributes check out my other plugin.

I wrote this plugin because I needed a basepath for uploaded images for my WordPress Multisite. In other words, I needed a URL to the server root without the domain. You may find this useful for the same reason, or perhaps another.

Before you copy this code and add it into your own, keep in mind that there may be future updates. Keeping the code within an activated plugin will make sure you’re notified.