Relative URL for Img and A Tags
This plugin will filter the content of your posts and pages to remove the root of the domain from links and image sources.
The facts
- Rating
- 5★ from 1
- Active installs
- 100+
- Price
- Free
- Last updated
- 22 Nov 2020
- Added
- Jun 2016
- Requires WP
- 4.5.3
- Tested up to
- WP 5.5.20
- Downloads
- 4,941
Our analysis
AI-assistedRelative URL for Img and A Tags is a WordPress plugin designed to remove the root domain from links and image sources, converting them to relative URLs. This functionality is particularly useful for users who are setting up their WordPress site in a subfolder and plan to move it to the main domain later.
The plugin allows you to change your site’s structure without the need to manually edit image sources and link URLs. It specifically targets internal links and images hosted on the same server, simplifying the migration process for WordPress installations.
Best for: This plugin suits WordPress users planning to move their site from a subfolder to the main domain.
What it does well
- ✓Removes the root domain from internal links
- ✓Converts image sources to relative URLs
- ✓Facilitates site migration without manual edits
Where it falls short
- •Not tested with page builders
- •Limited information on compatibility with other plugins
Verdict
Relative URL for Img and A Tags offers a straightforward solution for managing URLs during site migrations. However, its limited testing may be a consideration for some users.
From the developer
Edesa Cabang's own description of Relative URL for Img and A Tags, lightly tidied.
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