使用说明
[ri-reply-hide]
一、开始安装模板,将下载好的海螺模板压缩包上传到我们网站根目录下的-【tempalte】下并进行解压;
然后解压一下
然后进入到我们的管理后台进行配置
管理后台默认地址:
http://你的域名/admin.php/admin/index/index.html
【系统-】【网站参数配置】
进入后台后先配置一下海螺入口,也就是在自定义菜单中加入这么一行地址:
海螺主题配置,/admin.php/admin/conch/theme
伪静态:
location / {
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^/admin.php(.*)$ /admin.php?s=$1 last;
rewrite ^/api.php(.*)$ /api.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
路由设置:
map => map/index
rss/index => rss/index
rss/baidu => rss/baidu
rss/google => rss/google
rss/sogou => rss/sogou
rss/so => rss/so
rss/bing => rss/bing
rss/sm => rss/sm
index-<page?> => index/index
gbook-<page?> => gbook/index
gbook$ => gbook/index
topic-<page?> => topic/index
topic$ => topic/index
topicdetail-<id> => topic/detail
actortype/<id>-<page?> => actor/type
actortype/<id> => actor/type
actor-<page?> => actor/index
actor$ => actor/index
actordetail-<id> => actor/detail
actorshow/<id>-<area?>-<blood?>-<by?>-<letter?>-<level?>-<order?>-<page?>-<sex?>-<starsign?> => actor/show
actorsearch/<wd?>-<area?>-<blood?>-<by?>-<letter?>-<level?>-<order?>-<page?>-<sex?>-<starsign?> => actor/search
role-<page?> => role/index
role$ => role/index
roledetail-<id> => role/detail
roleshow/<by?>-<letter?>-<level?>-<order?>-<page?>-<rid?> => role/show
websitetype/<id>-<page?> => website/type
websitetype/<id> => website/type
website-<page?> => website/index
website$ => website/index
websitedetail-<id> => website/detail
websiteshow/<id>-<area?>-<by?>-<class?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<tag?> => website/show
websitesearch/<wd?>-<area?>-<by?>-<class?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<tag?> => website/search
vodtype/<id>-<page?> => vod/type
vodtype/<id> => vod/type
voddetail/<id> => vod/detail
vodrss-<id> => vod/rss
vodplay/<id>-<sid>-<nid> => vod/play
voddown/<id>-<sid>-<nid> => vod/down
vodshow/<id>-<area?>-<by?>-<class?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<state?>-<tag?>-<year?> => vod/show
vodsearch/<wd?>-<actor?>-<area?>-<by?>-<class?>-<director?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<state?>-<tag?>-<year?> => vod/search
vodplot/<id>-<page?> => vod/plot
vodplot/<id> => vod/plot
plotdetail/<id>-<page?> => plot/plot
plotdetail/<id> => plot/detail
arttype/<id>-<page?> => art/type
arttype/<id> => art/type
artshow-<id> => art/show
artdetail-<id>-<page?> => art/detail
artdetail-<id> => art/detail
artrss-<id>-<page> => art/rss
artshow/<id>-<by?>-<class?>-<level?>-<letter?>-<order?>-<page?>-<tag?> => art/show
artsearch/<wd?>-<by?>-<class?>-<level?>-<letter?>-<order?>-<page?>-<tag?> => art/search
label-<file> => label/index
[/ri-reply-hide]
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
- 最新
- 最热
只看作者