[wordpress插件] Automatic Domain Changer自动域名转换

wordpress 插件 文章 2020-02-25 09:50 769 0 全屏看文

AI助手支持GPT4.0

评分
86
描述

This plugin automatically detects a domain name change, and updates all the WordPress tables in the database to reflect this change.

此插件自动检测域名更改,并更新数据库中的所有WordPress表以反映此更改。

Features

功能

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

Requirements

要求

    • The PHP CURL extension, usually installed on Un*x, Mac and Windows environments.

    • PHP CURL扩展名,通常安装在Un * x,Mac和Windows环境中。

      See “Installing CURL on Linux” below for more help.

    • 有关更多帮助,请参见下面的“在Linux上安装CURL”。

    • Capability for your server to communicate with the outside work (or more specifically, to communicate with our servers)
    • 您的服务器与外部工作进行通信(或更具体地说,与我们的服务器进行通信)的能力

    Installing the Plugin

    安装插件

    (using the WordPress Admin Console)

    (使用WordPress管理控制台)

      1. From your dashboard, click on “Plugins” in the left sidebar
      2. 在信息中心中,点击左侧栏中的“插件”

      3. Add a new plugin
      4. 添加新插件

      5. Search for “Automatic Domain Changer”
      6. 搜索“自动域转换器”

      7. Install “Automatic Domain Changer”
      8. 安装“自动域转换器”

      9. Once Installed, if you want to manually change your domain, go to Tools > Domain Change
      10. 安装后,如果要手动更改域,请转到“工具”>“域更改”

      11. If your domain changes, a notice will appear at the top of the admin screen with a link to the domain changing tool
      12. 如果您的域发生更改,则通知会显示在管理屏幕顶部,并带有指向域更改工具的链接

      (manually via FTP)

      (通常通过FTP)

        1. Delete any existing ‘auto-domain-change’ folder from the ‘/wp-content/plugins/’ directory
        2. 从“ / wp-content / plugins /”目录中删除任何现有的“自动域更改”文件夹

        3. Upload the ‘auto-domain-change’ folder to the ‘/wp-content/plugins/’ directory
        4. 将“自动域更改”文件夹上传到“ / wp-content / plugins /”目录

        5. Activate the plugin through the ‘Plugins’ menu in WordPress
        6. 通过WordPress中的“插件”菜单激活插件

        7. Once Installed, if you want to manually change your domain, go to Tools > Domain Change
        8. 安装后,如果要手动更改域,请转到“工具”>“域更改”

        9. If your domain changes, a notice will appear at the top of the admin screen with a link to the domain changing tool
        10. 如果您的域发生更改,则通知会显示在管理屏幕顶部,并带有指向域更改工具的链接

        Making your blog/site address automatically reflect your server’s name

        使您的博客/站点地址自动反映您服务器的名称

        Add the following to your wp-config.php file:

        将以下内容添加到wp-config.php文件中:

        define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);

          define('WP_HOME','http://'。$ _SERVER ['SERVER_NAME']);;

        define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);

        define('WP_SITEURL','http://'。$ _SERVER ['SERVER_NAME']));

        See https://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29 for more information.

        有关更多信息,请参见https://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29。

下载地址
https://downloads.wordpress.org/plugin/automatic-domain-changer.zip
-EOF-

AI助手支持GPT4.0