This plugin is outdated and might not be supported anymore
Relative URL for Img and A Tags

Relative URL for Img and A Tags

By EdesaC
Details
View on WordPress

This plugin will remove the root of the domain from links and image sources. This means that it will leave the relative URL on your image and links. This is useful if you are installing your wordpress website on a subfolder which you will move on the main domain.

You can move your site to a different subdomain, subfolder, parent folder, etc., without having to edit image sources and link URLs.

So, http://webdev-tuts.com/wp-content/uploads/2016/05/svggraph-pie-graph.jpg would become /wp-content/uploads/2016/05/svggraph-pie-graph.jpg

Note: We haven’t tested the plugin on any page builder yet.

Features

  • removes the the domain name on links for internal links
  • removes domain from on image sources for images located in the server

Details

Plugin code:
relative-url-for-img-and-a-tags
Plugin version:
1.0.3
Author:
Outdated:
Yes
WP version:
4.5.3 or higher
PHP version:
or higher
Test up to WP version:
5.5.15
Total installations:
100
Last updated:
2020-11-22
Rating:
Times rated:
1
relative-image-source
relative-links
remove-root-url-from-image-link-tags