跳到内容

Relative URL for Img and A Tags

v1.0.3

Edesa Cabang · 2016年6月29日 上架

This plugin will filter the content of your posts and pages to remove the root of the domain from links and image sources.

正在使用
90+
评分
5.0 / 5
累计下载
5,175
最近更新
2020年11月23日
1 条评价需要 WordPress 4.5.3+已测试到 5.5.25

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums