WordPress 问题 ߝ为什么我会收到此用户名/密码提示?
在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这看起来像是来自 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.