Can better improve the site optimization of the relevant settings, as we developed the article picture automatic alt annotation plug-in, but also conducive to picture optimization to bring traffic. The default Dede default list page thumbnail picture is missing the Alt attribute, and seo/seo.html "target=" _blank "> Search engine understanding of the image effect is poor."
Open File list_article.htm Find the following code:
The code is as follows |
Copy Code |
Modify to the following code:
|
After the modification, a new problem has arisen. That is, when the article is recommended, the code has a <b> title </b> tag.
Solution:
Open File include/arc.listview.class.php find the following code
The code is as follows |
Copy Code |
$row [' title '] = ' <b> '. $row [' title ']. " </b> ";
|
Modify the above code to the following code:
The code is as follows |
Copy Code |
$row [' title '] = $row [' title '];
|
This completes the Dedecms list thumbnail by adding ALT anchor text information.