零玖博客

分享生活,留住感动


  • 首页

  • 归档

  • 工具

  • 友链

  • 关于

WordPress程序在IIS环境下伪静态配置文件

发表于 2017-02-12 分类于 教程 阅读次数:


WordPress程序在IIS环境下伪静态配置文件

下载后放入网站根目录,重启IIS即可!

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

本站启用的固定架构为: /archives/%post_id%.html
提取密码:vv234
https://eyun.baidu.com/s/3bpmXr8j


文章仅供参考,
部分内容转换后可能无法正常显示,推荐从网盘下载源文件查看。

# IIS # WordPress # 伪静态
使用宝塔软件Windows 面板遇到的问题及解决思路
笔记本CPU天梯图
Gcod

Gcod

浅谈生活琐事,吐槽大千世界,仅此而已
130 日志
7 分类
111 标签
RSS
Tim E-Mail Google Telegram
豫ICP备15018047号-1 © 2013 – 2019 Gcod
又拍云 ☯ 腾讯云 ☯ Cloudflare 提供CDN加速
由 Hexo 强力驱动 v3.9.0
|
主题 – NexT.Gemini v7.3.0
|