禁止任何形式的违法内容,如发现将强制停止其使用权,并提交至有关部门进行处理。
  • 首 页
  • 当前位置:首页 » 帮助中心 » [ISAPI_Rewrite]Win主机+IIS伪静态设置与Wordpress永久链接伪静态的完美教程

    [ISAPI_Rewrite]Win主机+IIS伪静态设置与Wordpress永久链接伪静态的完美教程

    稳网互联windows全能主机专用wordpress伪静态组件使用教程,以及组件下载:

    http://urlxf.qq.com/?6vMRv2e

     

    安装说明:

    把mtbnotif.dll和Rewrite.dll这两个文件传到网站根目录的others文件夹里面,如果没有请自行建立.

    然后登陆虚拟主机管理面板,在权限管理里面找到自定义ISAPI的项目.
    筛选器名称Rewrite
    ISAPI筛选器路径:填写 others/Rewrite.dll 即可以了

    httpd.ini是配置文件,传到wwwroot根目录下面即可实现伪静态.
    别忘了要在wordpress的后台开启伪静态功能.

     

     

    -----------------------------------------

    通用规则如下:

     

     

    规则文件如下:

     

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

     

    阅读次数: 6806      发布日期:2013-11-19      【关闭窗口
    综合业务
    业务咨询
     320005869  320005868  537076877
     320005874  320005878  320005871
     537076875  76015525  537077365
     860803591  537076876  320005876
    因版面限制,以上为部分售前客服专员,点击 查看更多
    业务相关,请咨询售前客服专员。
    售后支持
     9678710  79666106
    售后以及技术性相关问题,请咨询售后技术。
    投诉/合作
    杨经理:  860910552
    赵经理:  77169016
    处理:投诉、意见建议。
    赵经理:  77169016
    处理:大客户,渠道合作,商务合作。