mamp pro wordpress 虚拟主机
所以我使用 MAMP PRO 来获得更好的虚拟主机实用程序。好的。我在使用 WordPress 时遇到了严重的问题。
我成功地做到了这一点:
将虚拟主机 reghellin.unbit.it 指向: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/
在此处安装了 wp 3.3.1 多站点: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/giboperbacco
可以吗?
然后我:
设置了另一个虚拟主机 www.giboperbacco.com 来: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/test_multisite
安装了正常(目前..)新版本的 wp。
实在无法安装。每次我访问 www.giboperbacco.com 时,我都会被重定向到 test.unbit.it/giboperbacco
为什么?
1 重要提示:此问题仅发生在 WordPress 上。如果我用另一个index.html甚至另一个没有wordpress代码的.php替换[path]/test_multisite下的wp的index.php,则虚拟主机工作正常。
所以我想这并不是真正的虚拟主机问题,可能是某种 wp 问题。
2 重要提示
我还尝试创建更多虚拟主机并将其指向 [path]/test_multisite,但所有虚拟主机都继续重定向到 test.unbit.it/giboperbacco
有什么想法吗?
So I'm using MAMP PRO, to have a better vhost utility. Ok. I've got serious problems with wordpress.
I successfully done this:
pointed a vhost reghellin.unbit.it to:
/Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/Installed wp 3.3.1 multisite here:
/Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/giboperbacco
ok?
I then:
setted up another vhost www.giboperbacco.com to:
/Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/test_multisiteinstalled there a normal (for now..) fresh version of wp.
Can't really install it. Every time I go to www.giboperbacco.com, I get redirected to test.unbit.it/giboperbacco
Why?
1 IMPORTAT NOTE: this issue happens only with wordpress. If I substitute wp's index.php under [path]/test_multisite with another index.html or even another .php with no wordpress code, the vhost WORKS FINE.
So I guess it's not really a vhost problem, maybe some kind of wp problem.
2 IMPORTANT NOTE
I also tried to create and point some more vhosts to [path]/test_multisite, but all keep redirecting to test.unbit.it/giboperbacco
Any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我要自己回答。
简单地复制了一个错误的 wp_config 文件,其中包含引用其他路径的多站点指令。
:P
再见!
I'm going to answer by myself..
Simply copied a wrong wp_config file that contained mutisite directives that referenced the other path.
:P
Bye!