Pseudo static configuration file of WordPress program in IIS environment

February 12, 2017 1492 point heat 0 likes 1 comment



After downloading, put it into the root directory of the website and restart IIS!

# Defend your computer from some worm attacks
#RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O]
# 3600 = 1 hour</p> <p>CacheClockRate 3600
RepeatLimit 32</p> <p># Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through</p> <p>RewriteRule /tag/(.*) /index.php? tag=$1
RewriteRule /software-files/(.*) /software-files/$1 [L]
RewriteRule /images/(.*) /images/$1 [L]
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]

The fixed architecture enabled by this site is:/archives/% post_ id%.html

Extract password: vv234

[ypbtn] [/ypbtn]


If life is just like the first sight, what is the sad autumn wind painting fan

Article comments

  • Intoxicated with Chinese style


    February 19, 2017