简体   繁体   English

我的WordPress网站加载index.php而不是网站

[英]My WordPress website loads index.php not the website

I migrated my website to a new server however when you go to the site it loads index.php not the WordPress site. 我将网站迁移到了新服务器,但是当您转到该网站时,它会加载index.php而不是WordPress网站。

在此处输入图片说明

File Structure 档案结构 在此处输入图片说明

I copied the public_html folder and database from my old server. 我从旧服务器复制了public_html文件夹和数据库。 I don't know where to go from here. 我不知道从这里去哪里。

Try changing your account php version. 尝试更改您的帐户php版本。 You can do that by logging into your cPanel account, the search for PHP or MultiPHP. 您可以通过登录cPanel帐户,搜索PHP或MultiPHP来实现。 See what default version is currently configured and try switching that to a different version. 查看当前配置的默认版本,然后尝试将其切换为其他版本。 Test your website again and see if it works or not. 再次测试您的网站,看看它是否有效。 If you get the same error, then you should contact your hosting provider since they're pretty much the only ones who can actually help 如果您遇到相同的错误,则应该与您的托管服务提供商联系,因为他们是实际上唯一可以提供帮助的人

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

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