123下一页
返回列表 发新帖
查看: 277|回复: 21

柒瑞赛事竞猜 X 短域名URL静态化 URL静态化规则

[复制链接]

1万

热度

1万

元宝

1万

贡献

金牌草根

发表于 2018-6-25 17:58:41 | 显示全部楼层 |阅读模式
本帖最后由 民审-M 于 2018-6-30 10:43 编辑


伪静态访问短域名默认访问域名
竞猜大厅
http://您的域名/jingcaihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree
往期竞猜
http://您的域名/wangqihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
我的竞猜
http://您的域名/wodejingcaihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
我的关注
http://您的域名/wodeguanzhuhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
竞猜详情
http://您的域名/saishi_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=XXX
竞猜记录
http://您的域名/jilu_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=XXX
高手竞猜
http://您的域名/gaoshou_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=XXX
总盈利排行榜单
http://您的域名/rank1http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
净盈利排行榜单
http://您的域名/rank2http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
猜赢场次排行榜单
http://您的域名/rank3http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
命中率排行榜单
http://您的域名/rank4http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4

草根吧实测演示地址:
PC端:http://demo.caogen8.co/x/jingcai
手机端:


柒瑞赛事竞猜URL静态化规则温馨提示

请先安装主应用:柒瑞赛事竞猜 草根吧即将发布~
及其组件:短域名URL静态化 草根吧即将发布~
并需要在discuz后台赛事竞猜的设定中开启伪静态域名才可生效


Apache Web Server(独立主机用户)

<IfModule mod_rewrite.c>
RewriteEngine On
########## jingcai_7ree URL rewite RULE 201502 begin
RewriteRule ^(.*)/jingcai$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree%1
RewriteRule ^(.*)/wangqi$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1%1
RewriteRule ^(.*)/wodejingcai$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1%1
RewriteRule ^(.*)/wodeguanzhu$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7%1
RewriteRule ^(.*)/saishi_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2%1
RewriteRule ^(.*)/jilu_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2%1
RewriteRule ^(.*)/gaoshou_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2%1
RewriteRule ^(.*)/rank1$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1%1
RewriteRule ^(.*)/rank2$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2%1
RewriteRule ^(.*)/rank3$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3%1
RewriteRule ^(.*)/rank4$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4%1
########## jingcai_7ree URL rewite RULE 201502 end
</IfModule>

Apache Web Server(虚拟主机用户)
游客,如果您要查看本帖隐藏内容请回复


IIS Web Server(独立主机用户)

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP

RewriteRule ^(.*)/jingcai$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree
RewriteRule ^(.*)/wangqi$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
RewriteRule ^(.*)/wodejingcai$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
RewriteRule ^(.*)/wodeguanzhu$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
RewriteRule ^(.*)/saishi_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2
RewriteRule ^(.*)/jilu_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2
RewriteRule ^(.*)/gaoshou_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2
RewriteRule ^(.*)/rank1$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
RewriteRule ^(.*)/rank2$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
RewriteRule ^(.*)/rank3$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
RewriteRule ^(.*)/rank4$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4


IIS7 Web Server(独立主机用户)

<rewrite>
<rules>
<rule name="jingcai_7ree">
<match url="^(.*/)*jingcai$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree" />
</rule>
<rule name="wangqi_7ree">
<match url="^(.*/)*wangqi$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&finish_7ree=1" />
</rule>
<rule name="wodejingcai_7ree">
<match url="^(.*/)*wodejingcai$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=1" />
</rule>
<rule name="wodeguanzhu_7ree">
<match url="^(.*/)*wodeguanzhu$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=7" />
</rule>
<rule name="saishi_page_7ree">
<match url="^(.*/)*saishi_([0-9]+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree={R:2}" />
</rule>
<rule name="jilu_7ree">
<match url="^(.*/)*jilu_(.+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree={R:2}" />
</rule>
<rule name="gaoshou_7ree">
<match url="^(.*/)*gaoshou_(.+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree={R:2}" />
</rule>
<rule name="rank1_7ree">
<match url="^(.*/)*rank1$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1" />
</rule>
<rule name="rank2_7ree">
<match url="^(.*/)*rank2$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2" />
</rule>
<rule name="rank3_7ree">
<match url="^(.*/)*rank3$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3" />
</rule>
<rule name="rank4_7ree">
<match url="^(.*/)*rank4$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4" />
</rule>
</rules>
</rewrite>


Zeus Web Server

match URL into $ with ^(.*/)/jingcai$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree
endif
match URL into $ with ^(.*/)/wangqi$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
endif
match URL into $ with ^(.*/)/wodejingcai$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
endif
match URL into $ with ^(.*/)/wodeguanzhu$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
endif
match URL into $ with ^(.*)/saishi_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2
endif
match URL into $ with ^(.*)/jilu_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2
endif
match URL into $ with ^(.*)/gaoshou_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2
endif
match URL into $ with ^(.*/)/rank1$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
endif
match URL into $ with ^(.*/)/rank2$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
endif
match URL into $ with ^(.*/)/rank3$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
endif
match URL into $ with ^(.*/)/rank4$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4
endif


Nginx Web Server
游客,如果您要查看本帖隐藏内容请回复

必先安装:
柒瑞赛事竞猜 X 10.2 DZ建站学习研究分享 · 插件
https://www.cgzz8.cn/t-34408-1-1.html
(出处: 草根吧)


配套下载:
柒瑞赛事自动采集器 全自动版V5.0 DZ建站学习研究分享 · 插件
https://www.cgzz8.cn/t-34361-1-1.html
(出处: 草根吧)


相关下载:
柒瑞赛事竞猜 X 短域名URL静态化 URL静态化规则
https://www.cgzz8.cn/t-34337-1-1.html
(出处: 草根吧)

柒瑞赛事竞猜 X 欧洲杯世界杯球队简介资料素材下载
https://www.cgzz8.cn/t-34351-1-1.html
(出处: 草根吧)

柒瑞赛事竞猜DIY 扩展模块 Ver 3.5 DZ建站学习研究分享 · 扩展
https://www.cgzz8.cn/t-34357-1-1.html
(出处: 草根吧)


相关教程
柒瑞赛事竞猜业务流程概述及常见问题解答使用手册
https://www.cgzz8.cn/t-34379-1-1.html
(出处: 草根吧)

柒瑞赛事自动采集器常见问题解答(FAQ)
https://www.cgzz8.cn/t-34342-1-1.html
(出处: 草根吧)

【图文教程】柒瑞赛事竞猜的banner广告和链接地址如何设置?
https://www.cgzz8.cn/t-34343-1-1.html
(出处: 草根吧)
本文来源于网友学习研究交流 www.caogen8.co,请以学习研究交流为主。
如果您没有贡献积分,可以直接免费领取,免费领取
如果你需要加入本学习研究交流,请以学习研究交流为目的,免责声明
如果找不到您要的资源,请搜索一下,点击搜索

100

热度

189

元宝

22

贡献

步入草根

发表于 2018-6-29 17:25:00 | 显示全部楼层
谢谢老大,太爱你了

0

热度

1

元宝

0

贡献

步入草根

发表于 2025-11-10 02:43:19 | 显示全部楼层
我来看看怎么个事儿

0

热度

1

元宝

0

贡献

步入草根

发表于 2025-11-14 13:37:33 | 显示全部楼层
支持楼主

热度

元宝

贡献

步入草根

发表于 2025-12-8 13:03:18 | 显示全部楼层
支持楼主

热度

元宝

贡献

步入草根

发表于 2025-12-9 23:23:32 | 显示全部楼层
支持楼主

热度

元宝

贡献

步入草根

发表于 2025-12-16 11:31:09 | 显示全部楼层
支持一下

热度

元宝

贡献

步入草根

发表于 2025-12-17 13:57:27 | 显示全部楼层
6666666

7

热度

1

元宝

0

贡献

步入草根

发表于 2025-12-17 20:51:10 | 显示全部楼层
支持一下

热度

元宝

贡献

步入草根

发表于 2025-12-18 22:46:49 | 显示全部楼层
我来看看怎么个事儿
下一页 »
123下一页
返回列表 发新帖
 懒得打字嘛,点击右侧快捷回复【最新发布】   【赞助草根吧享更多权益】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

收藏帖子 返回列表 搜索

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

小黑屋|手机版|草根吧