1

wordpress | 多站点开启域名访问

 6 months ago
source link: https://benpaodewoniu.github.io/2024/03/08/wordpress8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

wordpress | 多站点开启域名访问

多站点开启域名和单站点完全不一样。

另外,在 wordpress 开始安装的时候,就要用域名进行访问安装,否则后面很被动。

单站点使用 ip 访问后,只需要在设置里面,把 ip 改为域名就好了。

但是,多站点配置不能这样。

如果,你已经使用 ip 进行了多网络配置,那我觉得很难重新设置域名了,建议重新安装。

如果你的多站点要开启多域名,会有下面的步骤

  • wp-config.php
    • 放置一些配置
  • 点击后台,【工具】进行网络配置
    • 这个时候,你一定要进行域名配置,而不是 ip 配置
    • 如果是 ip 配置,后面就改不过来了

8_0.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK