[WordPress] 外掛分享: Relative Image URLs

首頁外掛目錄 › Relative Image URLs
WordPress 外掛 Relative Image URLs 的封面圖片
1,000+
安裝啟用
★★★★
4.2/5 分(5 則評價)
4209 天前
最後更新
問題解決
WordPress 2.0.2+ v2.0 上架:2010-04-06

內容簡介

當在文章中插入圖片時,WordPress 會使用絕對 URL 連結到檔案。這個外掛覆蓋了這個功能,並強制使用相對 URL。

例如:

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

外掛覆蓋:
/wp-content/uploads/2013/04/example.jpg

這對於計劃更換網域以及減少 HTTP 請求特別有用。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Relative Image URLs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon