“未指定输入文件"WordPress 中的错误 [英] "No input file specified" Error in WordPress

查看:61
本文介绍了“未指定输入文件"WordPress 中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个网站上工作 后端工作正常.在前端,除了索引页面外,其他页面都不显示.错误来未指定输入文件"

I am working on this site Backend works fine. IN the front end none of the other pages are displayed except index page. the error come "No input file specified"

感谢您的帮助

推荐答案

这是您的 .htaccess 文件的问题.

This is a problem with your .htaccess file.

修复:

更新到最新的 WordPress.某些安装中存在永久链接错误.

Update to the latest WordPress. There is a permalink bug in some installations.

确保为 ModRewrite 正确配置了 Apache.

Make sure Apache is configured properly for ModRewrite.

来自支持:在选项 > 固定链接上,是可选"部分.这不是可选的.升级它提到的类别的 index.php/file(我有 PATHINFO 永久链接)后,我不想要文件",所以我将其更改为 index.php/现在我已更改为 index.php/_/(或将其留空以提供标准的类别"子路径),一切又可以正常工作了.这是 Mod 重写文件:

From Support: On Options > Permalinks, is a section "Optional". It's not SO optional. After upgrading it mentioned for category's index.php/file (I've got the PATHINFO permalinks), I don't want "files" so I altered that to index.php/ Now that I've changed to index.php/_/ (or leave it blank which gives the standard "Category" subpath), its all working again. Here is the Mod Rewrite file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

这篇关于“未指定输入文件"WordPress 中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆