欢迎来到m1938工作室
帮助中心

苹果CMS 8x Rewrite伪静态规则

  • 苹果cmsv8教程
  • 来源:m1938
  • 编辑:m1938
  • 时间:02/19
  • 阅读:36978

1,确认空间支持rewrite组件。
2,按照 伪静态rewrite 目录下的说明文档操作。
3,后台设置浏览模式为 rewrite伪静态 。

 


 

 

RegistrationName=Longshui Chen
RegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32


RewriteRule ^/vod-(.*)$ /index.php?m=vod-$1 [I]
RewriteRule ^/art-(.*)$ /index.php?m=art-$1 [I]
RewriteRule ^/gbook-(.*)$ /index.php?m=gbook-$1 [I]
RewriteRule ^/label-(.*)$ /index.php?m=label-$1 [I]
RewriteRule ^/map-(.*)$ /index.php?m=map-$1 [I]

 



注意,以下规则都是在系统默认rewrite配置路径下测试的。




如果使用rewrite伪静态模式,请注意把配置文件复制到网站根目录。
如果静态文件后缀配置的不是html,则请把rewrite配置文件中的.html替换为对应的后缀如.html

iis6.x   下使用 httpd.ini



iis7.x   下使用web.config

apache下使用 .htaccess  
(编辑.htaccess文件,把 RewriteBase /maccms8 修改为你苹果CMS所在目录)

nginx 下使用 maccms.conf
(使用vps或者服务器的可以在你的主机的conf里 用 include xxxxx.conf   也就是包含下伪静态规则文件
如果用的是虚拟主机版的nginx 就找你的主机商给你添加规则就行,你把规则发给他。)

==========================苹果CMS系统接收参数介绍====================================
视频地图页 index.php?m=vod-map.html
视频栏目页 index.php?m=vod-type-id-*-pg-*.html
视频内容页 index.php?m=vod-detail-id-*.html
视频播放页 index.php?m=vod-play-id-*-src-*-num-*.html
视频搜索页 index.php?m=vod-search-wd-*-pg-*.html
视频专题首页 index.php?m=vod-topicindex-pg-*.html
视频专题列表 index.php?m=vod-topic-id-*-pg-*.html

文章地图页 index.php?m=art-map.html
文章栏目页 index.php?m=art-type-id-*-pg-*.html
文章内容页 index.php?m=art-detail-id-*-pg-*.html
文章搜索页 index.php?m=art-search-wd-*-pg-*.html
文章专题首页 index.php?m=art-topicindex-pg-*.html
文章专题列表 index.php?m=art-topic-id-*-pg-*.html


视频筛选页 index.php?m=vod-list-id-*-pg-*-wd-*-area-*-lang-*-year-*-letter-*-order-*-by-*.html
文章筛选页 index.php?m=art-list-id-*-pg-*-wd-*-letter-*-order-*-by-*.html

视频tag页 index.php?m=vod-search-tag-*-pg-*.html
新闻tag页 index.php?m=art-search-tag-*-pg-*.html

留言本 index.php?m=gbook-show.html
地图页 index.php?m=map-*-pg-*.html
自定义页面 index.php?m=label-*-pg-*.html


全部评论(0)
推荐教程
  • 苹果cmsv10百度主动URL推送教程
  • 苹果cmsv10百度主动URL推送教程
  • 为了提高网站seo优化,网站搭建正常运转后我们需要对网站的视频,资讯,文章等内容数据能够及时的提交给百度搜索,缩短蜘蛛爬取收录时间加快收录。我们需要对苹果cms系统自带的百度主动URL推送进行设置使用。百度URL推送链接提交工具是网
  • 苹果cmsv10教程
  • 来源:m1938
  • 编辑:m1938
  • 时间:02/19
  • 阅读:7905
  • 海洋Seacms官方正式版程序下载安装说明
  • 海洋Seacms官方正式版程序下载安装说明
  • ===海洋cms安装说明===---------------------------------------程序运行环境:PHP5.x+MySql---------------------------------------将upload文件夹里的文件全部上传至网页服务器后,执行以下操作:1.请设置index.php,index.html为默认
  • 海洋cms教程
  • 编辑:m1938
  • 时间:02/19
  • 阅读:2719
  • 马克斯CMS(MAXCMS4.0)最新正式版模版标签文档maxcms4.0
  • 马克斯CMS(MAXCMS4.0)最新正式版模版标签文档maxcms4.0
  • =======================================快速查找标签=======================================[Ctrl+正式版标签文档maxcms4.0F]键按文件名快速查找视频: index.html channel.html content.html openplay.html&nb
  • 马克斯max教程
  • 编辑:m1938
  • 时间:02/19
  • 阅读:5584
  • 马克斯MAXCMS4.0如何修改数据库表前缀
  • 马克斯MAXCMS4.0如何修改数据库表前缀
  • 很多朋友都有自己的服务器有时候服务器只有一个数据库想装两个站,再建个数据库又很麻烦怎么办呢?方法很简单打开inc目录找到mainclass.asp文件用记事本打开mainclass.asp找到dimTABLE_PRE    TABLE_PRE="
  • 马克斯max教程
  • 编辑:m1938
  • 时间:02/19
  • 阅读:1885
本站声明 请在遵守中华人民共和国法律法规的情况下使用本站模板,严禁将M1938模板网的模板用在涉黄、涉黑、涉赌、涉毒、涉电信诈骗等任何涉嫌违法活动站点,本站所有代码模板仅供学习交流使用,请勿用于商业用途,及违法侵权行为使用均与本站无关!
CopyRight © 2026 M1938模板网 版权所有 | 模板仅供学习参考,请勿用于违法或商业用途