When you open a website and see the ‘error’ report, 该报告表明,当托管该页面的web服务器定位该页面时,出现了一些问题. Do not worry; this is most likely not an issue on your part, e.g., with the computer or browser, or internet access. 问题不是你试图打开的网页.
You may experience this error not only on WordPress platform yet on different CMS. 500 Internal Server Error是一个典型的错误报告,当无法提供具体信息时提供. The reasons are not so apparent as in case of 404s; it makes sense to dig down to the real reason. Take a closer look at the most common error causes to understand what one you have encountered.
Apache和PHP错误日志有时会给出导致站点崩溃的潜在原因.
Error with the .Htaccess文件,这可能会阻碍访问您正在访问的网页. To check if .Htaccess文件设置不正确是导致错误的原因, all you have to do is just exclude or rename your .Htaccess文件一会儿,然后重新加载页面.
Reboot the page. 按下重装按钮或按F5或键盘上的Ctrl+R. 这个错误通常是暂时的,重新加载页面会有帮助. 请确保您没有刷新您正在进行结帐过程或输入信用卡号码的页面, the restarting may cost you extra charges.
Clear the cache. 缓存问题很少会导致内部服务器错误,但值得继续清理.
Remove cookies and refresh the web page.
Let the website know about the problem. 查看最受欢迎的网站的联系信息列表.
Return later if the error is out of your control.
在你的WordPress网站上排除500个内部服务器错误是完全不同的,需要更多的调查.
通过形成名为“PHP”的空文件来扩展PHP内存限制.ini.’. Enter ‘memory=64MB’ code to the created text file, 保存并下载到您的WP文件夹与FTP的帮助. 请注意,这只是一个变通方法,因为有些东西会破坏内存限制,要么是编码拙劣的插件,要么是模板函数. To find out the correct diagnosis, 您最好联系您的WP主机提供商检查服务器日志.
Inspect WP templates and plugins. Eliminate WordPress plugins. 如果这已经解决了这个问题,那么插件中还有一个害群之马. Activate the theme back. Exam. 然后在每次重新激活之间逐个更新插件,直到测试发现失败和过期的插件. 取消它,并与插件创建者沟通问题.
Check for a corrupt core file. 这不是一个典型的原因,但有时WP核心文件可能会失败. To resolve the issue, 从新的WordPress安装中重新上传更新后的核心文件包(wp-admin和wp-includes目录).
如果你还没有找出错误的原因,调试你的WordPress页面. 幸运的是,WP自带调试功能. Paste a code into a wp-config.PHP文件,因此发生的所有错误都记录在站点文件夹的文件中.