狠狠网/色综合久久久久综合体桃花网/日本护士三aaaaaa/久久久久久综合一区中文字幕

或者

IIS6偽靜態配置(wordpress固定鏈接)

作者:月光邊境 瀏覽:192 發布時間:2018-04-24
分享 評論 0

在Win2003+IIS6環境下支持WordPress的固定連接

  1.安裝ISAPI_Rewrite

  偽靜態組件包

  http://pan.baidu.com/s/1jGG5YRG

  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 through?0?2

  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]