重名wp-login.php和开启固定链接的问题!
-
1: 重命名wp-login.php,修改后,后台登陆正常!
2:上传HTTPD.ini到根目录[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets throughRewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]然后再访问后台,提示找不到页面!
但是访问备份的原始的wp-login.php是OK
查看 2 回复 - 1 至 2 (总计 2)
查看 2 回复 - 1 至 2 (总计 2)
- 话题 ‘重名wp-login.php和开启固定链接的问题!’不再接受新回复。