HTTPS 导致 Joomla 在创建链接时恢复到旧域

发布于 2024-07-13 21:38:36 字数 305 浏览 1 评论 0原文

我已将网站 BradPPresents.com 移至 BradP.com。 URL 工作不安全

该网站在 HTTP 上正确链接,但一旦使用 HTTPS,链接就会恢复到 BradPPresents.com。

我以为这是 Joomla! configuration.php 文件,但已更改为 BradP.com。

此外,我能找到的所有 BradPPresents.com 实例都已在 MySQL 数据库中更改为 BradP.com。

有人有什么想法吗? 非常感激, 缺口

I have moved the website BradPPresents.com to BradP.com. URLS ARE NOT SAFE FOR WORK

The website links properly on HTTP but as soon as it uses HTTPS the links revert back to BradPPresents.com.

I assumed this was a Joomla! configuration.php file but it has already been changed to BradP.com.

Also, all instances that I can find of BradPPresents.com have been changed to BradP.com in the MySQL database.

Does anyone have any ideas?
Much appreciated,
Nick

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

池木 2024-07-20 21:38:36

对其他人:在您的好奇心战胜您并决定查看此人的网站之前,请注意这可能不适合在某些地方工作。 更新:我没有权限编辑添加到问题中的 URL 语句,因此我将在此处更新:该网站不是传统意义上的成人网站,而是关于如何吸引女孩的网站之一。 尽管如此,首页上的一些图片还是有点色情,所以如果你在工作,我仍然建议远离。

检查您的服务器软件的配置。 它可能将端口 443 (https) 指向与端口 80 (http) 不同的默认目录。 如果是这样,您需要更改端口 443 的默认目录以匹配端口 80 的默认

目录。如果您使用 Apache,我预计某处有名为 httpd.conf 和 ssl.conf 的文件,可能位于不同的目录中。 (这些目录很可能位于同一级别,或者其中一个目录是另一个目录的子目录。可能的起点是 /etc/httpd/ 和 /usr/local/apache2/。这些目录通常命名为 conf 和 conf。 d.) 这两个文件可能都有 DocumentRoot 条目(尽管 ssl.conf 中的条目可能用“#”注释掉)。 如果两者均未注释掉且不匹配,请更改 ssl.conf 中的内容。 有关更多详细信息,请参阅 Apache 网站。

我只使用过Apache,所以我无法帮助其他服务器。

您可能知道这一点,但为了完整起见,我应该提一下:在编辑现有配置文件之前,不要忘记备份它们! 这样,如果您的更改不起作用,您可以返回到原来的状态。

编辑:我错过了这是 Joomla,我从未使用过它。 所以,我不确定这是否有用。

To others: Before your curiosity gets the best of you and you decide to check this guy's site, please be aware that may be not suitable for work at some places. Update: I don't have privilege to edit the URLs statement that was added to the question, so I'll just update here: The site is not an adult site in the classic sense, but one of those on how to get girls. Still, some of the pix on the front page are a bit racy, so if you're at work, I still recommend staying away.

Check your server software's configuration. It may be pointing port 443 (https) to a different default directory than port 80 (http). If so, you'll need to change the default directory for port 443 to match that of port 80.

If you're using Apache, I expect there are files named httpd.conf and ssl.conf somewhere, possibly in separate directories. (Most likely these directories will be at the same level or one will be a sub-directory of the other. Possible starting points are /etc/httpd/ and /usr/local/apache2/. These directories are usually named conf and conf.d.) Both files probably have entries for DocumentRoot (although the one in ssl.conf may be commented out with a "#"). If neither is commented out and they don't match, change the one in ssl.conf. See the Apache web site for more detail.

I've only used Apache, so I can't help with other servers.

And you probably know this, but I should mention it for completeness: Don't forget to make back up copies of your existing configuration files before you edit them! That way, if your changes don't work, you can go back to what you have.

Edit: I missed that this was Joomla, which I've never used. So, I'm not sure if this will be useful or not.

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