怎么把全站的链接默认read-都改成show-,tag-改成arc-

1257622852024-03-04  423

不准备升级了,反正3.0大改,就想把默认的这个read和tag换掉

目前知道在model文件中,有两个文件修改渲染输出的链接,

那么接收解析链接的文件是哪几个??

有知道的吗?

改完这几个,网站地图的地址也会变吧。

转载请注明原文地址:https://www.wellcms.net/read-754.html
00
最新回复(2)
  • 自己搜地图插件修改对应的read和tag
    回复00
  • 三處鈎子及其代碼,可能還有其它的代碼需要更改。

     

    // hook index_inc_route_before.php
    'show' == param(0) and $route = 'read';
    'arc' == param(0) and $route = 'tag';
    
    
    // hook model__thread_format_center.php
    $thread['url'] = url('show-' . $thread['tid'], '', FALSE);
    
    
    // hook model__tag_format_end.php
    $val['url'] = url('arc-' . $val['tagid'], '', FALSE);

     

    回复01