主机使用 centos_8_0_x64 PHP7.2 mysql5.6 apache 安装 wordpress 时候没有直接将文件整个拷贝到 html 目录 而是将整个 wordpress 目录拷贝到了 html 文件夹内 这导致了后来一些列的问题 起初使用公网 IP/wordpress 这样的 url 后来我将 wordpress 目录下面的 index.php 文件拷贝到了 html 文件夹,修改了命令指向 /html/wordpress 但实际上在 wordpress 目录下还是有一个 index.php 问件
尝试再仪表盘的常规选项里修改 url 为 http://域名,直接报错 只能修改成 http://域名 /wordpress 这样可以正常使用系统,点击文章名可以打开文章 但是地址会是 http://域名 /wordpress/postid.html 这样的形式 有什么办法可以修改成 http://域名 /postid.html ?