The title of the DedeCMS column page is unchanged no matter which page it is, which is not conducive to the website's SEO, so we can add a page number to the title of the page.
The method is as follows:
1. First open the file include/arc.listview.class.php. Search in the file:
$this->ParseTempletsFirst();
And delete it
2. Then search,
$this->ParseDMFields($this->PageNo,1);
Add the following code snippet before him
$this->Fields['pagexx'] = $this->PageNo;
$this->ParseTempletsFirst();
3. Open the list page of dream weaving template (list_article.htm, list_soft.htm, list_image.htm, etc.), and change its title to:
<title>{de: field. title/}_Page {de: field. pagexx/}</title>
That is, add a code such as page {dede: field. pagexx/}.
Finally, the whole station is generated. The above method is suitable for generating static pages in DEDE5.7.
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.