It is said that Baidu basically doesn't read keywords now (of course, we can't do without writing), but the key now is the title on the page. Therefore, the title must be well done. It mainly involves the problem of how to realize "three level columns second level columns first level columns website name". The title of Water Like Stars basically does this:
Home page:
<title>{dede: global. cfg_webname/}</title>, in System Settings>Basic System Parameters, write the title information of the home page in the website name.
Column page:
Find about line 164 of include/typelink. class. php, and find:
$this->valuePositionName = $tinfos['typename'].$ this->SplitSymbol.$ this->valuePositionName;
Revised as:
$this->valuePositionName = $this->valuePositionName.$ this->SplitSymbol.$ tinfos['typename'];
OK.
The first tag {dede: field. seotitle/} is the SEO title of the calling column. If you are not satisfied with the connector in the middle of the column, you can modify include/arc. listview. class. php and find line 55
$this->Fields['title'] = ereg_replace("[<>]"," / ",$this->TypeLink->GetPositionLink(false));
Leave a space for/delete attention ""
Article page:
<title>{dede:field.seotitle/} {dede:field name='title'/}-{dede:field name='position' runphp='yes'} $tc="-"; // Separator $tw=$GLOBALS['cfg_list_symbol']; // Call Location Separator @me=html2text(@me); // Remove html tags $tf=split($tw,@me); // Break into arrays for($ta=(count($tf)-2);$ ta>=1;$ Ta --) {//Loop assignment to $tk $tk.= trim($tf[$ta]).$ tc; } $tk=substr($tk,0,-1); @me=$tk; // Assign value to @ me
Statement: All articles on this site, unless otherwise specified or marked, are originally published on this site. No individual or organization is allowed to copy, embezzle, collect and publish the content of this website to any website, book and other media platforms without the consent of this website. If the content of this website infringes upon the legitimate rights and interests of the original author, please contact us for handling.