该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.