我正在更改wordpress管理面板中的永久链接结构,
更改后,当我点击发布内部服务器错误
时如果将其更改为默认永久链接结构,则其工作正常。
更改我的localhost中的永久链接设置工作正常,但是在临时服务器中抛出内部错误,我在登台服务器中检查了我的.htaccess文件,新规则正在更新,但它显示的内部错误问题不在本地服务器中
我正在使用Wpengine webhost。
我正处于登台服务器模式。
如何摆脱这个问题
答案 0 :(得分:1)
与您的虚拟主机对话;您的更改未写入.htaccess或您的虚拟主机不允许使用.htaccess和mod_rewrite。
请参阅http://codex.wordpress.org/Using_Permalinks
如果您使用的是Windows服务器,请参阅http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
答案 1 :(得分:0)
您尝试重写网址两次:
删除.htaccess文件 (或评论第一行)
<IfModule mod_rewrite.c>
# RewriteEngine On
RewriteBase ./
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . ./index.php [L]
</IfModule>
希望这会有所帮助。
答案 2 :(得分:0)
如果在子目录中安装了wordpress,则需要更改该行
RewriteRule . /index.php [L]
的{{1}}(/ IfModule的最后一行)
更改subdirectoryName为安装了wordpress的子目录的名称。