
內容簡介
這個外掛可以移除網域根目錄的連結和圖像來源,這意味著它會保留相對網址到你的圖像和連結。這在你的WordPress網站安裝在一個子文件夾,而你想要將其移轉到主網域時非常有用。您可以將您的網站移動到不同的子域,子文件夾,父文件夾等,而不必編輯圖像來源和鏈接URL。因此,http://webdev-tuts.com/wp-content/uploads/2016/05/svggraph-pie-graph.jpg 將成為 /wp-content/uploads/2016/05/svggraph-pie-graph.jpg。注意:我們還沒有在任何頁面構建器上測試過此插件。
功能
移除內部鏈接的域名
移除存放在服務器上的圖像來源的域名
外掛標籤
開發者團隊
② 後台搜尋「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
