WordPress 问题 ߝ为什么我会收到此用户名/密码提示?

发布于 2024-09-15 07:08:51 字数 417 浏览 5 评论 0原文

在 WordPress 中遇到一些配置问题,想知道是否有人可以提供帮助。这已经困扰我一段时间了,但这可能是一个我严重忽视的简单问题。

我正在尝试在同事构建的 Wordpress 站点(通过 MAMP)上进行本地工作,但是在下载文件、导入数据库并尝试访问 http://localhost',我收到以下提示:

“‘localhost’正在请求用户名和密码。该网站显示:“安全目录”。

我已经尝试了用于该网站、数据库等的用户名和密码,但似乎没有任何效果。有人有吗?据我所知,config.php 文件是正确的,并且也授予了权限,但这现在开始困扰我

:)

David 。

Having a bit of config trouble in Wordpress and wonder if anyone can help. This has been bugging me for a while, but it could be a simple issue that I've sorely overlooked.

I am trying to work locally on a Wordpress site (through MAMP) that was built by a colleague, but after downloading the files, importing the database, and trying to access http://localhost', I'm getting the following prompt:

"A username and password are being requested by 'localhost'. The site says: "Secure directory".

I have tried the usernames and passwords that I use for the site, database, etc, but nothing seems to work. Does anyone have any suggestions. The config.php file is correct as far as I can tell, and the permissions are also granted, but this is starting to bug me now.

Any help would be greatly appreciated :)

David

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

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

发布评论

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

评论(1

凉世弥音 2024-09-22 07:08:52

这看起来像是来自 apache 的消息,表明您正在使用的目录/文件夹已受密码保护。这可以通过 Apache 配置文件或我认为通过 htaccess 来完成。

This looks like a message from apache indicating that the directory/ folder you are using has been password protected. This can be done either through the Apache config files or, I think, through htaccess.

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