Pseudo static configuration file of WordPress program in IIS environment

February 12, 2017 626 point heat 0 liked it 1 comment

 

 

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

[ISAPI_ Rewrite]
# 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 in this site is / Archives /% post_ id%.html

Extract password: vv234

[ypbtn]https://eyun.baidu.com/s/3bpmXr8j[/ypbtn]

Gcod

Talking about the trivial matters of life and talking about the whole world, that's all

Article review

  • Intoxicated with Chinese style

    Stroll

    February 19, 2017