简体   繁体   English

wp-content中的PHP页面的Wordpress 500 Internal Server Error

[英]Wordpress 500 Internal Server Error with PHP pages in wp-content

I have several plugins that are shooting out 404 page not found errors when trying to load a page in the plugins directory. 尝试在plugins目录中加载页面时,我有几个插件正在弹出404页面找不到错误。

For instance: /wp-content/plugins/test/test.php 例如:/wp-content/plugins/test/test.php

When I go to that link, I'll get a 404 page not found error. 当我转到该链接时,将收到404页面未找到错误。 If I go to a link for a file in the plugins directory, it will load up just fine, ie /wp-content/plugins/test/test.jpg 如果我转到plugins目录中文件的链接,它将很好地加载,即/wp-content/plugins/test/test.jpg

What could be keeping php files from loading? 什么可以阻止php文件加载? My htaccess is the default. 我的htaccess是默认设置。 I've tried disabling all plugins. 我试过禁用所有插件。 Site works fine in my local development environment, but not on my new GoDaddy dedicated hosting environment. 该网站可以在我的本地开发环境中正常运行,但不能在新的GoDaddy专用托管环境中运行。 Any help would be hugely appreciated! 任何帮助将不胜感激!

首先,为了安全起见,将.htaccess重命名为.htaccess.txt,如果它不起作用,则不允许直接访问,请再次检查路径

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

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