mamp pro wordpress 虚拟主机

发布于 2025-01-04 08:21:00 字数 900 浏览 1 评论 0原文

所以我使用 MAMP PRO 来获得更好的虚拟主机实用程序。好的。我在使用 WordPress 时遇到了严重的问题。

我成功地做到了这一点:

  1. 将虚拟主机 reghellin.unbit.it 指向: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/

  2. 在此处安装了 wp 3.3.1 多站点: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/giboperbacco

可以吗?

然后我:

  1. 设置了另一个虚拟主机 www.giboperbacco.com 来: /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/test_multisite

  2. 安装了正常(目前..)新版本的 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:

  1. pointed a vhost reghellin.unbit.it to:
    /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/

  2. Installed wp 3.3.1 multisite here:
    /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/SITO-PERBACCO/giboperbacco

ok?

I then:

  1. setted up another vhost www.giboperbacco.com to:
    /Users/stratboy2/Documents/01-LAVORI/perbacco/XHTML/test_multisite

  2. installed 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

山人契 2025-01-11 08:21:00

我要自己回答。

简单地复制了一个错误的 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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文