解决关键词长短优先级问题的方法 打开 /include/arc.archives.class.php 找到 $query = SELECT * FROM 58pic_keywords WHERE rpurl ORDER BY rank DESC ; 改成 $query = SELECT char_length (keyword) AS num ,aid,keyword,rpurl, rank FROM 58pic_keywords WHERE rpurl ORDER BY num DESC ; 继续找到 […]
解决关键词长短优先级问题的方法
打开 /include/arc.archives.class.php 找到
$query = "SELECT * FROM 58pic_keywords WHERE rpurl<>''ORDERBYrankDESC";
改成
$query = "SELECTchar_length(keyword) ASnum,aid,keyword,rpurl,rankFROM 58pic_keywords WHERE rpurl<>''ORDERBYnumDESC";