我对 WordPress 有疑问。该网站工作正常,但在管理面板,各种网页,如编辑帖子,已安装的插件,添加新插件,添加新页,设置将我重定向到主页。我疯了三天谷歌搜索,但我刚刚发现了mod_security问题。事实证明,对我来说也没用。
这是我的.htaccess文件
RewriteEngine On RewriteBase / RewriteCond /home/gokkur/public_html/wp-content/sitemaps%{REQUEST_URI} -f RewriteRule \.xml(\.gz)?$ /wp-content/sitemaps%{REQUEST_URI} [L] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] SecFilterEngine Off SecFilterScanPOST Off
答案 0 :(得分:1)
这是WP Private Sub ServCredit_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If (KeyAscii > 47 And KeyAscii < 58) Or KeyAscii = 46 Or KeyAscii = 32 Then
KeyAscii = KeyAscii
Else
KeyAscii = 0
MsgBox "Invalid Key Pressed"
End If
End Sub
文件的默认内容:
.htaccess
也许您的自定义重写规则会产生问题。