简体   繁体   English

我可以将 WordPress 文件夹直接解压缩到 htdocs 文件夹中吗?

[英]Can I unzip WordPress folder directly into htdocs folder?

我可以将 WordPress 文件夹直接解压缩到 htdocs 文件夹中而不在其中创建 WordPress 文件夹吗?

To unzip wordpress.zip inside htdocs folder, one blank folder should be there.要将 wordpress.zip 解压缩到 htdocs 文件夹中,应该有一个空白文件夹。 So first create blank folder that unzip wordpress.zip inside that folder.所以首先创建一个空白文件夹,将 wordpress.zip 解压缩到该文件夹​​中。

Thanks,谢谢,

Yes you can, the wordpress files should be installed in the DocumentRoot for the website which I think in your case is the htdocs folder.是的,你可以,wordpress 文件应该安装在网站的 DocumentRoot 中,我认为在你的情况下是 htdocs 文件夹。

When you unzip it it will unzip with a wordpress folder, just move the contents of the folder up a level and remove the wordpress directory.当您解压缩它时,它将与 wordpress 文件夹一起解压缩,只需将文件夹的内容向上移动一个级别并删除 wordpress 目录。

You just need to configure your wp-config.php file with the relevant access details for the database connection您只需要使用数据库连接的相关访问详细信息配置您的wp-config.php文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM