wordpress定义httpd.ini文件后 所有的html文件都404了!!!
[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#Protecthttpd.iniandhttpd.pa...
[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 through
RewriteRule /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]
用的这个代码配置的httpd文件
但是配置完以后网站里所有的原有html文件都404了。包括百度地图
http://www.feige123.com/sitemap.html
http://www.feige123.com/sitemap_baidu.xml
都打不开了!!!
我上传了一个测试的html文件,输入地址也是出现404!求助啊!! 展开
# 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 through
RewriteRule /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]
用的这个代码配置的httpd文件
但是配置完以后网站里所有的原有html文件都404了。包括百度地图
http://www.feige123.com/sitemap.html
http://www.feige123.com/sitemap_baidu.xml
都打不开了!!!
我上传了一个测试的html文件,输入地址也是出现404!求助啊!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询