请教,
<?php
$arrlist_down = db_find('website_thread',array('tid'=>array('>'=>$tid-13),'tid'=>array('<='=>$tid)),array('tid'=>-1));
?>
<div class="widget-article-newest"><span>聚合阅读</span></div>
<ul class="posts-widget">
<?php foreach ($arrlist_down as $_downthrad) { ?>
<li>
<div class="widget-posts-text"><a class="widget-posts-title" href="<?php echo http_url_path().url('read-'.$_downthrad['tid']);?>"
title="<?php echo $_downthrad['subject'];?>"><i class="fa fa-angle-right"></i>
<?php echo $_downthrad['subject'];?></a>
<div class="widget-posts-meta"><i>
<?php echo $_downthrad['posts'];?> 评论</i></div>
</div>
</li>
<?php $_downthrad['tid']-=1;?>
<?php } ?>
用的伪静态类型是3:/user/login,并为每个目录设置了别名,列表页的链接都是正常的,
上面代码是侧边栏的调用,其中的
href="<?php echo http_url_path().url('read-'.$_downthrad['tid']);?>"
前台链接会显示 https://www.wellcmsxxx.net/read/123,而不是 https://www.wellcmsxxx.net/目录别名/123。
这个需要修改 read- 吗?谢谢!

