菜鸡源码,专注精品下载!
当前位置:首页 > 建站教程 > 建站知识

苹果CMSV10最新静态URL规则

发布时间:2024-01-05  栏目:建站知识   浏览:   分类:苹果cms教程 伪静态 苹果cmsv10教程 伪静态规则

苹果CMSV10最新伪静态规则是:将动态链接转换为静态链接,提高网站访问速度和SEO优化。具体操作方法如下: 1. 登录苹果CMS后台,进入“系统”-“系统参数设置”; 2. 找到“URL设置”,选择“开启URL伪静态”; 3. 点击“保存”按钮,完成设置。 这样,您的苹果CMSV10网站就启用了最新的伪静态规则。这将有助于提高网站的访问速度和搜索引擎排名。如果您需要进一步了解关于苹果CMSV10的伪静态规则,可以查阅相关资料或咨询专业人士。

苹果CMS伪静态规则说明

苹果CMSV10最新伪静态规则

最新V10版本伪静态规则,包含.htaccesshttpd.inimaccms.confweb.config,各种环境伪静态文件。

伪静态规则对照表

IIS阿帕奇规则++前面的字母是可以修改的,可以变化无穷视频地图页规则:map视频分类页规则:type/{id}-{pg}视频内容页规则:detail/{id}视频播放页规则:play/{id}-{src}-{num}视频下载页规则:down/{id}-{src}-{num}vod-list-id-{id}-pg-{pg}-order-{order}-by-{by}-class-{class}-year-{year}-letter-{letter}-area-{area}-lang-{lang}视频专题首页规则:topicindex视频专题列表页规则:topiclist/{id}-{pg}视频搜索页规则:search-pg-{pg}-wd-{wd}文章首页规则:artindex文章分类页规则:artlist/{id}-{pg}文章内容页规则:art/{id}-{pg}文章地图页规则:artmap留言本规则:gbook/{pg}自定义页规则:label/{label}rssrss/{method}/{pg}

httpd.ini

[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32RewriteRule^type/(.*)-(.*)$/index.php?m=vod-type-id-$1-pg-$2[I]RewriteRule^detail/(.*)$/index.php?m=vod-detail-id-$1[I]RewriteRule^play/(.*)-(.*)-(.*)$/index.php?m=vod-play-id-$1-src-$2-num-$3[I]RewriteRule^down/(.*)-(.*)-(.*)$/index.php?m=vod-down-id-$1-src-$2-num-$3[I]RewriteRule^topiclist/(.*)-(.*)$/index.php?m=vod-topic-id-$1-pg-$2[I]RewriteRule^topicindex(.*)$/index.php?m=vod-topicindex-pg-$1[I]RewriteRule^artindex(.*)$/index.php?m=art-index-pg-$1[I]RewriteRule^artlist/(.*)-(./*)$/index.php?m=art-type-id-$1-pg-$2[I]RewriteRule^art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2[I]RewriteRule^label/(.*)$/index.php?m=label-$1[I]RewriteRule^map(.*)$/index.php?m=vod-map$1[I]RewriteRule^artmap(.*)$/index.php?m=art-map$1[I]RewriteRule^gbook/(.*)$/index.php?m=gbook-show-pg-$1[I]RewriteRule^search-pg-(.*)-wd-(.*)$/index.php?m=vod-search-pg-$1-wd-$2[I]RewriteRule^rss/(.*)/(.*)$/index.php?m=map-$1[I]RewriteRule^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$/index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9[I]

.htaccess

#将RewriteEngine模式打开RewriteEngineOn#修改以下语句中的/maccms为你的网站目录地址,如果程序放在根目录中,请将/maccms修改为/RewriteBase/#Rewrite系统规则请勿修改RewriteRule^type/(.*)-(.*)$index.php?m=vod-type-id-$1-pg-$2RewriteRule^detail/(.*)$index.php?m=vod-detail-id-$1RewriteRule^play/(.*)-(.*)-(.*)$index.php?m=vod-play-id-$1-src-$2-num-$3RewriteRule^down/(.*)-(.*)-(.*)$index.php?m=vod-down-id-$1-src-$2-num-$3RewriteRule^topiclist/(.*)-(.*)$index.php?m=vod-topic-id-$1-pg-$2RewriteRule^topicindex(.*)$index.php?m=vod-topicindex-pg-$1RewriteRule^artindex(.*)$index.php?m=art-index-pg-$1RewriteRule^artlist/(.*)-(.*)$index.php?m=art-type-id-$1-pg-$2RewriteRule^art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2RewriteRule^label/(.*)$index.php?m=label-$1RewriteRule^map(.*)$index.php?m=vod-map$1RewriteRule^artmap(.*)$index.php?m=art-map$1RewriteRule^gbook/(.*)$index.php?m=gbook-show-pg-$1RewriteRule^search-pg-(.*)-wd-(.*)$index.php?m=vod-search-pg-$1-wd-$2RewriteRule^rss/(.*)/(.*)$index.php?m=map-$1RewriteRule^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9

maccms.conf

#安装目录1,根目录/2,子目录/maccms8_syb/rewrite^/type/(.*)-(.*)$index.php?m=vod-type-id-$1-pg-$2break;rewrite^/detail/(.*)$index.php?m=vod-detail-id-$1break;rewrite^/play/(.*)-(.*)-(.*)$index.php?m=vod-play-id-$1-src-$2-num-$3break;rewrite^/down/(.*)-(.*)-(.*)$index.php?m=vod-down-id-$1-src-$2-num-$3break;rewrite^/topiclist/(.*)-(.*)$index.php?m=vod-topic-id-$1-pg-$2break;rewrite^/topicindex(.*)$index.php?m=vod-topicindex-pg-$1break;rewrite^/artindex(.*)$index.php?m=art-index-pg-$1break;rewrite^/artlist/(.*)-(.*)$index.php?m=art-type-id-$1-pg-$2break;rewrite^/art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2break;rewrite^/label/(.*)$index.php?m=label-$1break;rewrite^/map(.*)$index.php?m=vod-map$1break;rewrite^/artmap(.*)$index.php?m=art-map$1break;rewrite^/gbook/(.*)$index.php?m=gbook-show-pg-$1break;rewrite^/search-pg-(.*)-wd-(.*)$index.php?m=vod-search-pg-$1-wd-$2break;rewrite^/rss/(.*)/(.*)$index.php?m=map-$1break;rewrite^/vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9break;

web.config

<?xmlversion="1.0"encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rulename="ImportedRulevodtype"><!--视频分类页--><matchurl="^type/(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-type-id-{R:1}-pg-{R:2}"appendQueryString="false"/></rule><rulename="ImportedRulevoddetail"><!--视频内容页--><matchurl="^detail/(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-detail-id-{R:1}"appendQueryString="false"/></rule><rulename="ImportedRulevodplay"><!--视频播放页--><matchurl="^play/(.*)-(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-play-id-{R:1}-src-{R:2}-num-{R:3}"appendQueryString="false"/></rule><rulename="ImportedRulevoddown"><!--视频下载页--><matchurl="^down/(.*)-(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-down-id-{R:1}-src-{R:2}-num-{R:3}"appendQueryString="false"/></rule><rulename="ImportedRulevodsearch"><!--视频搜索页--><matchurl="^search-pg-(.*)-wd-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-search-pg-{R:1}-wd-{R:2}"appendQueryString="false"/></rule><rulename="ImportedRulevodmap"><!--视频地图--><matchurl="^map(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-map{R:1}"appendQueryString="false"/></rule><rulename="ImportedRuleshaixuan"><!--筛选页面--><matchurl="^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-list-id-{R:1}-pg-{R:2}-wd-{R:3}-area-{R:4}-lang-{R:5}-year-{R:6}-letter-{R:7}-order-{R:8}-by-{R:9}"appendQueryString="false"/></rule><rulename="ImportedRuleztlist"><!--视频专题列表页--><matchurl="^topiclist/(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-topic-id-{R:1}-pg-{R:2}"appendQueryString="false"/></rule><rulename="ImportedRuletopic"><!--视频专题首页--><matchurl="^topicindex(.*)$"/><actiontype="Rewrite"url="index.php?m=vod-topicindex-pg-{R:1}"appendQueryString="false"/></rule><rulename="ImportedRuleartindex"><!--文章首页--><matchurl="^artindex(.*)$"/><actiontype="Rewrite"url="index.php?m=art-index-pg-{R:1}"appendQueryString="false"/></rule><rulename="ImportedRulearttype"><!--文章分类页--><matchurl="^artlist/(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=art-type-id-{R:1}-pg-{R:2}"appendQueryString="false"/></rule><rulename="ImportedRuleartdetail"><!--文章内容页--><matchurl="^art/(.*)-(.*)$"/><actiontype="Rewrite"url="index.php?m=art-detail-id-{R:1}-pg-{R:2}"appendQueryString="false"/></rule><rulename="ImportedRulegbook"><!--留言本--><matchurl="^gbook/(.*)$"/><actiontype="Rewrite"url="index.php?m=gbook-show-pg-{R:1}"appendQueryString="false"/></rule><rulename="ImportedRulelabel"><!--自定义页--><matchurl="^label/(.*)$"/><actiontype="Rewrite"url="index.php?m=label-{R:1}"appendQueryString="false"/></rule><rulename="ImportedRuleartmap"><!--文章地图页--><matchurl="^artmap(.*)$"/><actiontype="Rewrite"url="index.php?m=art-map{R:1}"appendQueryString="false"/></rule><rulename="ImportedRulerss"><!--rss地图页--><matchurl="^rss/(.*)/(.*)$"/><actiontype="Rewrite"url="index.php?m=map{R:1}"appendQueryString="false"/></rule></rules></rewrite></system.webServer></configuration>

相关文章

    无相关信息
评论
建站知识
建站知识
使用技巧
调试安装
运营推广