跳到内容

Relative Image URLs

v2.0

Scott Werner · 2010年4月7日 上架

Creates relative URLs for images when inserting into posts.

正在使用
1,000+
评分
4.2 / 5
累计下载
2.5 万
最近更新
2014年9月5日
5 条评价需要 WordPress 2.0.2+已测试到 4.0.38

贡献者

截图

Shows the difference between absolute and relative image URLs in the WordPress post editor.
Shows the difference between absolute and relative image URLs in the WordPress post editor.

When inserting an image into a post, WordPress uses absolute URLs to the files. This plugin overrides that functionality and forces it to use relative URLs.

For example:

WordPress Default:
http://www.example.com/wp-content/uploads/2013/04/example.jpg

Plugin Override:
/wp-content/uploads/2013/04/example.jpg

This is particularly useful if you plan on switching domains ever as well as reducing HTTP requests.

Plums

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

导航

说明

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

© 2026 Plums