這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

UmanIT Update URLs

描述

This plugin updates all URLs in the database after moving your site from one domain to another. It is useful for switching between development, testing and production stages.

Why this plugin ? WordPress stores absolute URLs in :

  • posts (including pages and custom post types), drafts
  • excerpts
  • medias
  • custom fields
  • options (including 『siteurl』 and 『home』, in wp_options table)
  • GUIDs (only for development)

When moving your website to a new domain, all these links will point to your old domain name and become outdated.

Prerequisite

Before moving the website, consider making a backup of the database. Then, once the site has been moved, you will need to manually update 『siteurl』 in the 『wp_options』 table, in order to access the WordPress Administration panel.
For further information, see https://codex.wordpress.org/Changing_The_Site_URL

螢幕截圖

  • The plugin's screen

安裝

Installation and uninstallation are extremely simple. You can use WordPress』 automatic install or follow the manual instructions below.

Installation

  1. Download the package.
  2. Extract it to the 「plugins」 folder of your WordPress directory.
  3. In the Administration Panel, go to 「Plugins」 and activate it.
  4. Go to 「Tools」, then 「Update URLs」 to use it.

Uninstallation

  1. In the Administration Panel, go to 「Plugins」 and deactivate the plugin.
  2. Go to the 「plugins」 folder of your WordPress directory and delete the files/folder for this plugin.

Usage

Once the plugin has been activated, navigate to 「Tools」, then 「Update URLs」 and follow the instructions.

常見問題

Does it support multisite installation?

Yes, you only have to run the plugin on each site.

What about serialized data?

The plugin handles it in options and postmeta tables.

Why are the URLs not updated?

URLs are only replaced when an exact match is found. Note that maching is case-sensitive. Be sure that you have entered the correct URL.

Why URLs in other plugins are not updated?

Some plugins store their content and settings in custom tables. Since every plugin’s data structure can be different, we will not be able to update these tables, although it might contain URLs.

Can I choose which links to update?

Yes, you can choose whether to update links for posts, excerpts, medias, custom fields, options and GUIDs.

貢獻者及開發者

“UmanIT Update URLs” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 UmanIT Update URLs 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

First stable version.