[ISAPI_Rewrite]
# Defend your computer from some worm attacks
#RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
# 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 /favicon.ico /favicon.ico [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L]
RewriteRule /sitemap.html /sitemap.html [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]
RewriteRule /pr/(.*) /pr/$1 [L]
RewriteRule /文件夹名1/(.*) /文件夹名1/$1 [L]
RewriteRule /文件夹名2/(.*) /文件夹名2/$1 [L]
RewriteRule /文件夹名3/(.*) /文件夹名3/$1 [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
以上就是安达网络工作室关于《wordpress在IIS下伪静态后子目录无法访问的解决方法》的一些看法。更多内容请查看本栏目更多内容!
1、右键复制时显示提醒语 把上面代码放到footer.php里即可 复制代码代码如下:<html> <head><title>防...
增加设置页面-add_menu_page函数 add_menu_page(),这个函数是往后盾增加顶级菜单先,也就是和“外观”、“...
以下代码来自网络,未经测试,操作数据库有危险,请事前备份 !为一切文章和页面增加自定义字段 这段代码能...
建设多言语切换的网站有两种形式,一种是子域名方式,另一种则是子目录方式。而以这两种方式建站,中文站点...
根本模板文件 style.css : CSS(款式表)文件index.php : 主页模板archive.php : Archive/Category模板404.ph...
一、发现成绩 在尝试编辑博客站点的Wordpress主题时,忽然发现博客站点无奈衔接;刷新后提醒“建设数据库衔...