【发布时间】:2016-07-08 08:34:10
【问题描述】:
更改 wordpress 永久链接后出现 500 个内部服务器错误。除了普通选项之外,所有选项都给我同样的错误。
错误仅在帖子页面上。很多人说wordpress不允许编辑.htaccess文件。但是,我有一个插件可以成功编辑我的 .htaccess 文件。
另外两件事可能很重要,我使用代理来运行博客,这是 .htaccess 文件中的内容
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /news/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /news/index.php [L]
</IfModule>
# END WordPress
【问题讨论】:
-
在对
.htaccess进行更改之前,您是否检查过他们的manual? -
查看您的错误日志。
-
我没有更改 .htaccess 文件。此外,这不是我的情况,我希望博客已启动并设置自定义永久链接。
-
这里是日志中的错误信息。
[Fri Jul 08 04:48:24.237062 2016] [core:error] [pid 2430] [client 46.101.144.77:36922] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://6-cylinder.com/news/