尤物视频在线观看|国产尤物视频在线观看|99热在线获取最新地址,久久频这里精品99香蕉久,国产色婷婷精品综合在线,亚洲欧美日韩高清在线看

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

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

在Win2003+IIS6環(huán)境下支持WordPress的固定連接

  1.安裝ISAPI_Rewrite

  偽靜態(tài)組件包

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

  2.在網(wǎng)站根目錄新建文件httpd.ini,輸入以下內(nèi)容并保存:

  [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]