网站推广三步走:十秒注册 -> 提交网站 -> 快速审核 -> 带来无限流量和外链 -> 点入及点出一次即可排名第一位

当前位置:快马目录网 » 站长资讯 » 站长教程 » 文章详细 订阅RssFeed

35dir分类目录伪静态规则文件全网最全.htaccess,httpd.ini,web.config

来源:快马导航网 浏览:40次 时间:2023-04-28

简介:35dir分类目录伪静态规则文件全网最全.htaccess,httpd.ini,web.config

BEGIN

RewriteEngine On

首页、分类浏览、数据归档、最近更新、排行榜、意见反馈

RewriteRule ^(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(.html)$ index.php?mod=KaTeX parse error: Expected 'EOF', got '&' at position 2: 1&̲%1 RewriteRule … index.php?mod=$1

最近更新

RewriteRule ^update-(\d+)-(\d+).html$ index.php?mod=update&days=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^update\̲/̲(\d+)-(\d+)\.ht… index.php?mod=update&days=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^update\̲/̲(\d+)/(\d+) index.php?mod=update&days=$1&page=$2

数据归档

RewriteRule ^archives-(\d+)-(\d+).html$ index.php?mod=archives&date=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 24: …eRule ^archives\̲/̲(\d+)-(\d+)\.ht… index.php?mod=archives&date=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 24: …eRule ^archives\̲/̲(\d+)/(\d+) index.php?mod=archives&date=$1&page=$2

站内搜索

RewriteRule ^search-(name|url|tags|intro)-(.*)-([0-9]+).html$ index.php?mod=search&type=$1&query=$2&page=KaTeX parse error: Can't use function '\.' in math mode at position 54: …ntro|tags)-(.*)\̲.̲html index.php?mod=search&type=$1&query=$2

RewriteRule ^search/(name|url|tags|intro)-(.+)-([0-9]+).html$ index.php?mod=search&type=$1&query=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^search\̲/̲(name|url|tags|… index.php?mod=search&type=$1&query=$2

RewriteRule ^search/(name|url|tags|intro)/(.+)/(\d+)$ index.php?mod=search&type=$1&query=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^search\̲/̲(name|url|tags|… index.php?mod=search&type=$1&query=$2

站点详细

RewriteRule ^webs-(\d+).html$ index.php?mod=siteinfo&wid=KaTeX parse error: Undefined control sequence: \/ at position 20: …writeRule ^webs\̲/̲(.+)\.html index.php?mod=siteinfo&wid=KaTeX parse error: Undefined control sequence: \/ at position 20: …writeRule ^webs\̲/̲(\d+) index.php?mod=siteinfo&wid=$1

文章详细

RewriteRule ^artinfo-(\d+).html$ index.php?mod=artinfo&aid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^artinfo\̲/̲(\d+)\.html index.php?mod=artinfo&aid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^artinfo\̲/̲(\d+) index.php?mod=artinfo&aid=$1

链接详细

RewriteRule ^linkinfo-(\d+).html$ index.php?mod=linkinfo&lid=KaTeX parse error: Undefined control sequence: \/ at position 24: …eRule ^linkinfo\̲/̲(\d+)\.html index.php?mod=linkinfo&lid=KaTeX parse error: Undefined control sequence: \/ at position 24: …eRule ^linkinfo\̲/̲(\d+) index.php?mod=linkinfo&lid=$1

单页

RewriteRule ^diypage-(\d+).html$ index.php?mod=diypage&pid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^diypage\̲/̲(\d+)\.html index.php?mod=diypage&pid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^diypage\̲/̲(\d+) index.php?mod=diypage&pid=$1

RSS

RewriteRule ^rssfeed-(.+)-(\d+).html$ index.php?mod=rssfeed&type=$1&cid=KaTeX parse error: Can't use function '\.' in math mode at position 28: …e ^rssfeed-(.+)\̲.̲html index.php?mod=rssfeed&type=$1&cid=2 R e w r i t e R u l e r s s . x m l 2 RewriteRule ^rss.xml2RewriteRulerss.xml index.php?mod=rssfeed&type=$1&cid=2 R e w r i t e R u l e r s s . h t m l 2 RewriteRule ^rss.html2RewriteRulerss.html index.php?mod=rssfeed&type=$1&cid=2 R e w r i t e R u l e r s s / 2 RewriteRule ^rss/2RewriteRulerss/ index.php?mod=rssfeed&type=$1&cid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^rssfeed\̲/̲(.+)/ index.php?mod=rssfeed&type=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^rssfeed\̲/̲(.+)/(\d+)\.htm… index.php?mod=rssfeed&type=$1&cid=$2

RewriteRule ^rssfeed/(.+)$ index.php?mod=rssfeed&type=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^rssfeed\̲/̲(.+)/(\d+) index.php?mod=rssfeed&type=$1&cid=$2

SiteMap

RewriteRule ^sitemap-(.+).html$ index.php?mod=sitemap&cid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^sitemap\̲/̲(\d+)\/ index.php?mod=sitemap&cid=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^sitemap\̲/̲(\d+) index.php?mod=sitemap&cid=$1

分类目录

RewriteRule ^webdir-(\d+)-(\d+).html$ index.php?mod=webdir&cid=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^webdir\̲/̲(\d+)-(\d+)\.ht… index.php?mod=webdir&cid=$1&page=KaTeX parse error: Undefined control sequence: \/ at position 22: …iteRule ^webdir\̲/̲(\d+)/(\d+) index.php?mod=webdir&cid=$1&page=$1

RewriteRule ^article-(.+)-(\d+)-(\d+).html$ index.php?mod=article&cid=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^article\̲/̲(.+)\/(\d+)-(\d… index.php?mod=article&cid=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^article\̲/̲(.+)\/(\d+)/(\d… index.php?mod=article&cid=$2&page=$3

httpd.ini伪静态:

[ISAPI_Rewrite]

BEGIN

首页、分类浏览、数据归档、最近更新、排行榜、意见反馈

RewriteRule ^/(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(/?)$ /index.php?mod=$1

最近更新

RewriteRule ^/update/(\d+).html$ /index.php?mod=update&days=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^/update\̲/̲(\d+)-(\d+)\.ht… /index.php?mod=update&days=$1&page=$2

数据归档

RewriteRule ^/archives/(\d+).html$ /index.php?mod=archives&date=KaTeX parse error: Undefined control sequence: \/ at position 25: …Rule ^/archives\̲/̲(\d+)-(\d+)\.ht… /index.php?mod=archives&date=$1&page=$2

站内搜索

RewriteRule ^/search/(name|url|tags|intro)/(.+)-(\d+).html$ /index.php?mod=search&type=$1&query=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 23: …teRule ^/search\̲/̲(name|url|tags|… /index.php?mod=search&type=$1&query=$2

站点详细

RewriteRule ^/siteinfo/(\d+).html$ /index.php?mod=siteinfo&wid=$1

文章详细

RewriteRule ^/artinfo/(\d+).html$ /index.php?mod=artinfo&aid=$1

链接详细

RewriteRule ^/linkinfo/(\d+).html$ /index.php?mod=linkinfo&lid=$1

单页

RewriteRule ^/diypage/(\d+).html$ /index.php?mod=diypage&pid=$1

RSS

RewriteRule ^/rssfeed/(\d+).html$ /index.php?mod=rssfeed&cid=$1

SiteMap

RewriteRule ^/sitemap/(\d+).html$ /index.php?mod=sitemap&cid=$1

分类目录

RewriteRule ^/webdir/(.+)/(\d+).html$ /index.php?mod=webdir&cid=KaTeX parse error: Undefined control sequence: \/ at position 28: …e ^/webdir/(.+)\̲/̲(\d+)-(\d+)\.ht… /index.php?mod=webdir&cid=$2&page=KaTeX parse error: Undefined control sequence: \/ at position 29: … ^/article/(.+)\̲/̲(\d+)\.html /index.php?mod=article&cid=KaTeX parse error: Undefined control sequence: \/ at position 29: … ^/article/(.+)\̲/̲(\d+)-(\d+)\.ht… /index.php?mod=article&cid=$2&page=$3

END

web.config伪静态:

<?xml version="1.0" encoding="UTF-8"?>

   <rule name="search_1">
      <match url="^(.*/)*search-(name|url|tags|intro)-(.+)-([0-9]+)\.html\?*(.*)$"/>
      <action type="Rewrite" url="{R:1}/index.php\?mod=search&amp;type={R:2}&amp;query={R:3}&amp;page={R:4}&amp;{R:5}"/>
    </rule>


    </rule>


    </rule>




   


  </rules>
</rewrite>


</system.webServer>



推荐站点

  • 少年科技少年科技

    少年科技工作室官网,致力于Web及原生前后端软件开发,提供多样化服务

    www.snkj.xyz
  • 中国图书网中国图书网

    中图网:网上书店,创办于1998年,通过好书推荐、畅销书、淘书团、特色专题等栏目及各种促销活动,致力于为读者提供价廉物美的正版优质书籍,是爱书人的淘书圣地。

    www.bookschina.com
  • 中国网中国网

    国家重点新闻网站,拥有十个语种独立新闻采编、报道和发布权;第一时间报道国家重大新闻事件;国情信息库服务全球读者了解中国;新闻办公室发布会独家网络直播发布网站;拥有国内外顶级学者专家资源,独家编发各种相关政策解读。

    www.china.com.cn
  • 云自媒云自媒

    云自媒汇聚26万+优质自媒体资源!已为30万+广告主提供软文、微信、朋友圈、微博、视频等社会化媒体营销。投广告就上云自媒!

    www.myunmei.com
  • 夜上海官网夜上海官网

    夜上海官网讲述当地纪实微观生活,个人见闻,随心所阅等主题

    www.sfyue166.com
  • 黑马程序员官网黑马程序员官网

    黑马程序员专注于it培训,开设java培训、鸿蒙开发培训、大数据培训、web前端培训、python培训、嵌入式培训、嵌入式开发培训、人工智能培训、软件测试培训、产品经理培训、智能机器人软件开发培训等多门it培训课程,提供java培训、java开发培训、python开发培训

    www.itheima.com