2, column theme and keyword, summary
For patient users, it would be preferable to complete the key to the column when creating the new column, and if not, use the following method。
When all the columns have been built, run the sql below to the system->sql command line tool:
Copy code (javas)Cript: )
1, 3update`#@ archtype`set
2, keepwords=coIt's not true。
3, desCription=co("this column is mainly about ', typename,', ', typename,',' and key words related to content, such as: curriculum, news, resources, etc.';
3. Articles
Dedecms provides tools such as automatic keyword extraction, automatic summary, etc. To optimize the document, although some users are accustomed to using the same keywords and abstractes for their articles at the site, an approach that is highly undesirable and, in the absence of access to keywords and abstracts, prefers to abandon these descriptions and allow the search engine to generate them automatically。
The following changes are required when using dedecms:
(1) the title of the multi-page article dedecms is by default not marked 1, 2 and 3 and can be opened here
Find "/recycling generation of HTML files" around 350 lines, then replace the beginning of the for-cycle with
Copy code (javas)Cript: )for($i=1; $itotalpage; $i+)
If ($this->totalpage>1)
'tmptitle'
=(empty($this-> fields)
'tmptitle'
♪ this- ♪ fields: $this- ♪ fields
'tmptitle'
;
Us$this->filds=$this->filds
'tmptitle'
"($i)";
This allows for the titles of multiple pages of articles to be marked (1), (2) and (3) ..。
(2) if the title is modified, then the summary that should be given on each page must also be modified, otherwise the description will be considered by the search engine to be the same warning that triggers the suspected stacking of keywords。
Open arc. Archives. Class. Php to funcioNparsedmfields
Copy code (javas)Cript: if
$this->splitpagefild
) {this-> fields
$this->splitpagefild
=this->splitfields
$pageno-1
;}
For

Copy code (javas)Cript: if
$this->splitpagefild
) {this-> fields
$this->splitpagefild
=this->splitfields
$pageno-1
;$this->fields
'desCription'
=trim
$this->splitpagefild
) ;}
This distinguishes the summary of each page of the document。
4. About cataloguing links
In dedecmsv5. 3, for the purpose of compatibility with some people's configuration of the web server, the link to the column is shown as typedir/index. HTML, which, for some users, may wish to designate "typedir/" and, for seo, does facilitate the presentation of the web site's catalogue structure, so it is reasonable that if you have a simpler web site structure (e. G. Not using non-default page links such as company profiles), you can modify it as follows。

Open filechannelunit. Func. Php to find funcio{\chffffff}{\ch00ffff} ngettypeurl
Put on the front line
Copy code (javas)Cript: )if ($isdefit==1) {// dynamic $reurl=$globals
'cfg phpurl'
..."/list. Php? Tid=".$typeid;}elseif($ispart==2) {$reurl=$typedir; return$reurl;}else {if($isdefault=0 &$ispart=0) {$reurl =str replace("page}",'1, '$namerule2); $reurse =str replace("{tid}, $typeid=$reurl); $reurl =str replace("{typedir}", $typedir, $reurl); {else {$reurl= =$typedir.'.$defile;}
Was replaced by:
Copy code (javas)Cript: ) if ($isdefault=1) {// dynamic $reurl = $globals
'cfg phpurl'
..."/list. Php? Tid=".$typeid;}else if ($ispart=2); {/ /jumping site$reurdir; return $reurl;}else {if(isdefault=0 & & $[ispart=0) {$reurl =str replace("page}","1", $namerule2); $reurl =str replace("{({ticg ed dfname}"), $typeid, $f eg [d [d [d [id [el}}
The key is: “$reurl = $typedir.'/';”
But you must be aware of a problem, and the catalogue must be in typedir/, or in iis, if it is in typeir without "/" , is will be permanently redirected to typedir/ by 303, which will cost the search engine an extra amount of effort, which is obviously not what the search engine likes or what we want to see。
5 repeat document title
In any event, to minimize the occurrence of duplicate files on your website, dedecms itself provides the capability to test and process duplicate titles. Before the site is heavily captured by the search engine, duplicate documents on the site must be excluded and, if they are too numerous, even considered to be fraudulent。
In general, dedecms itself provides seo with various tools, which are the best cms ever done by seo, and are reflected in the default template, but for reasons of compatibility, the government has not opened up all the programs that are compatible with seo, and it would be more perfect if the website you're making, with the changes described above, did not affect the operation。




