[WordPress] 外掛分享: Site Address Migrator

首頁外掛目錄 › Site Address Migrator
200+
安裝啟用
★★★☆☆
3/5 分(4 則評價)
2279 天前
最後更新
問題解決
WordPress 3.0.1+ v2.0 上架:2013-04-24

內容簡介

如果您在 WordPress 設置中更改了網站地址,您可能會注意到所有頁面和文章中的鏈接仍然使用舊的網站 URL。此外掛當您更改站點地址時,會在 WordPress 數據庫中遷移所有這些 URL,而無需使用 Search Replace DB 腳本。

站點地址遷移器會在以下範圍內更新所有匹配舊站點地址的鏈接:

所有文章、頁面和媒體(包括自定義類型)的描述、內容和摘要
文章和頁面選項字段
評論和評論選項字段
文章類別和標籤描述
用戶描述
用戶網站字段
WordPress 和小工具選項字段

站點地址遷移器將正確更新序列化數據內部的鏈接。當鏈接協議不匹配站點地址(例如,鏈接使用“https://”而不是“http://”,或者如果它是協議相對的“//”)時,站點地址遷移器也會匹配鏈接。將尊重原始鏈接使用的協議(即,如果鏈接是“https://”,即使站點地址給出為“http://”,它仍將保持“https://”)。

警告:在更新站點地址之前,請確保您可以訪問新站點域名並仔細檢查是否有拼寫錯誤!輸入錯誤的網站地址可能會導致您無法訪問 WordPress,除非手動修復 MySQL 數據庫條目。如果可能的話,請進行 MySQL 數據庫備份。

此外掛未設計用於並且未經過多站點安裝測試。

外掛標籤

開發者團隊

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

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

原文外掛簡介

If you ever change the Site Address under the WordPress settings, you may notice that all the links in your pages and posts may still use the old site url. This plugin plugin migrates all those urls in your WordPress database when you change the Site Address, without requiring the Search Replace DB script.
Site Address Migrator updates all links matching the old Site Address in:

Description, content and excerpts of all posts, pages and media (including custom types)
Post and page option fields
Comments and comment option fields
Post category and tag descriptions
User descriptions
User website fields
WordPress and widget option fields

Site Address Migrator will update links inside serialized data correctly. Site Address Migrator will also match links when the protocol does not match the Site Address (eg. the link uses “https://” instead of “http://”, or if it is protocol-relative “//”). The protocol used for the original link will be honored (ie. if the link was “https://”, it will remain “https://” even if the Site Address is given as “http://”).
Warning: Make sure you have access to the new site domain before updating the Site Address, and double check for spelling errors! Entering the wrong site address can prevent you from accessing WordPress again without manually fixing the MySQL database entries. Backup your MySQL database if possible.
This plugin is not designed for, and has not been tested for Multi-Site installs.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon