
织梦火车头采集器采集相同标题改成更新内容,不再发布相同文档,防止重复。
普通文章实现方法
1、打开 /dede/article_add.php 找到
在它上面加入
$arcrow = $dsql->GetOne("SELECt * FROM `archives` WHERe title='$title'");
$aid = $arcrow['id'];if(is_array($arcrow))
{
header("HTTP/1.1 307 Moved Permanently");
header("Location:article_edit.php?aid={$aid}&id={$aid}"); exit();
}
完成。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)