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

WordPress 外掛 Relative URL for Img and A Tags 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Relative URL for Img and A Tags」是 2016-06-28 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2020-11-22,距離現在已有 1624 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.5.3 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

edesac |

外掛標籤

relative links | relative image source | remove root URL from image & link tags |

內容簡介

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

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

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Relative URL for Img and A Tags」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Mastodon