• 设为首页
  • 收藏本站
  • 积分充值
  • VIP赞助
  • 手机版
  • 微博
  • 微信
    微信公众号 添加方式:
    1:搜索微信号(888888
    2:扫描左侧二维码
  • 快捷导航
    福建二哥 门户 查看主题

    phpcms2008 企业黄页模块伪静态设置规则分享

    发布者: 网神之王 | 发布时间: 2025-7-24 16:13| 查看数: 104| 评论数: 0|帖子模式

    httpd.ini 
    复制代码
    代码如下:

    [ISAPI_Rewrite] 
    # 3600 = 1 hour 
    CacheClockRate 3600 
    RepeatLimit 32 
    # Protect httpd.ini and httpd.parse.errors files 
    # from accessing through HTTP 
    RewriteRule ^(.*)/yp/([a-z]+)-([0-9]+)\.html$ $1/yp/$2.php\?action=show&id=$3 
    RewriteRule ^(.*)/job-list-([0-9]+)-([0-9]+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4 
    RewriteRule ^(.*)/product-list-([0-9]+)-([0-9]+)-([0-9]+)--(.+)--([0-1]).html$ $1/product.php\? 
    view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6 
    RewriteRule ^(.*)/product-list-([0-9]+)-([0-9]+)-([0-9]+)--(.+)--([0-1])-([0-9]+).html$ $1/product.php\? 
    view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6&page=$7 
    RewriteRule ^(.*)/([a-z]+)-list-([0-9]+)\.html$ $1/$2.php\?action=list&catid=$3 
    RewriteRule ^(.*)/show-([0-9]+)-([a-z]+)-([0-9]+)\.html$ $1/web/show.php\?userid-$2/category-$3/id-$4.html 
    RewriteRule ^(.*)/job-list-([0-9]+)-([0-9]+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4 
    RewriteRule ^(.*)/([a-z]+^[id])-([0-9]+)\.html$ $1/$2.php\?action=show&id=$3 
    RewriteRule ^(.*)/company-list-([0-9]+)-([a-z]+)--(.+)--([0-9]+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5 
    RewriteRule ^(.*)/company-list-([0-9]+)-([a-z]+)--(.+)--([0-9]+)-([0-9]+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5&page=$6 
    RewriteRule ^(.*)/show-([0-9]+)-([a-z]+)-([0-9]+)\.html$ $1/web/show\.php\?userid-$2\/category-$3\/id-$4\.html 
    #Tag 
    RewriteRule ^(.*)/tag/(.+)/\?*(.*)$ $1/tag\.php\?tag=$2 

    来源:互联网
    免责声明:如果侵犯了您的权益,请联系站长(1277306191@qq.com),我们会及时删除侵权内容,谢谢合作!

    最新评论

    QQ Archiver 手机版 小黑屋 福建二哥 ( 闽ICP备2022004717号|闽公网安备35052402000345号 )

    Powered by Discuz! X3.5 © 2001-2023

    快速回复 返回顶部 返回列表