[WordPress] 外掛分享: Relative URL for Img and A Tags

首頁外掛目錄 › Relative URL for Img and A Tags
WordPress 外掛 Relative URL for Img and A Tags 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
1942 天前
最後更新
問題解決
WordPress 4.5.3+ v1.0.3 上架:2016-06-28

內容簡介

這個外掛可以移除網域根目錄的連結和圖像來源,這意味著它會保留相對網址到你的圖像和連結。這在你的WordPress網站安裝在一個子文件夾,而你想要將其移轉到主網域時非常有用。您可以將您的網站移動到不同的子域,子文件夾,父文件夾等,而不必編輯圖像來源和鏈接URL。因此,http://webdev-tuts.com/wp-content/uploads/2016/05/svggraph-pie-graph.jpg 將成為 /wp-content/uploads/2016/05/svggraph-pie-graph.jpg。注意:我們還沒有在任何頁面構建器上測試過此插件。
功能

移除內部鏈接的域名
移除存放在服務器上的圖像來源的域名

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Relative URL for Img and A Tags」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

文章
Filter
Apply Filters
Mastodon