如何在nitrous.io上设置wordpress多站点

时间:2014-03-03 20:33:49

标签: wordpress nitrousio

我正在使用nitrous.io并尝试使用此处的说明设置wordpress多站点。

http://codex.wordpress.org/Create_A_Network

在更改wp-config.php和.htaccess文件后尝试登录时,它在步骤4之后中断。

我正在选择子目录选项。

我陷入无休止的重定向循环。

我试图取出wordpress输入的端口号80,如下所示。

define('DOMAIN_CURRENT_SITE', 'publicurlhere.com')

仍然没有运气。

我认为这与它在端口3000上托管以及来自nitrous.io的代理设置问题有关,而wordpress无法处理。

修改

我将端口更改为3000

define('DOMAIN_CURRENT_SITE', 'publicurlhere.com:3000')

现在我收到消息:

    Multisite only works without the port number in the URL.

1 个答案:

答案 0 :(得分:0)

查看wordpress文档,看起来这是wordpress的限制,不会在不同的端口上运行。

http://codex.wordpress.org/Before_You_Create_A_Network

You cannot create a network in the following cases:

     "WordPress address (URL)" uses a port number other than ':80', ':443'.
相关问题