The length of the default dedecms article title is 60 characters, but now the 20 Chinese characters of the article title are far from enough to meet the needs, so what we have to do is to modify the default word limit of the system. The method is as follows:
1. Modify the "system - > basic system parameters - > other options - > Article Title length" of Zhimeng background to the desired length, for example, 200 (maximum value cannot exceed 255), click OK to save
2. Execute SQL statement in "system - > SQL command line tool" in Zhimeng background:
alter table dede_archives change title title varchar(250)
Note: dede? Is the prefix of the default installation database. If you want to modify it when you install dedecms, you need to modify it now.
For example: page
http://www.sdfymb.com/news/711.html
The title of the article is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Precautions for erecting and removing cylindrical wooden formwork and advantages of wooden round formwork-Square template</title> <meta name="keywords" content="Building cylindrical wood formwork" /> <meta name="description" content="Now the circular concrete column formwork construction basically uses the building cylindrical wood formwork, so what are the advantages of using this kind of wooden circular formwork?What should we pay attention to when erecting formwork or demoulding cylindrical formwork?" /> <link rel="canonical" href="http://www.sdfymb.com/news/711.html" /> <script src="http://msite.baidu.com/sdk/c.js?appid=1634404368209099"></script> <script type="application/ld+json"> { "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld", "@id": "http://www.sdfymb.com/news/711.html", "appid": "1634404368209099", "title": "Precautions for erecting and removing cylindrical wooden formwork and advantages of wooden round formwork-Square template", "images": ["http://www.sdfymb.com/uploads/image/2019/1-1911130Z614Y8.jpg","http://www.sdfymb.com/uploads/image/2019/1-1911130ZH0422.jpg","http://www.sdfymb.com/uploads/image/2019/1-1911130ZQD06.jpg"], "pubDate": "2019-11-13T08:50:55" } </script> <link href="/skin/css/style.css" rel="stylesheet" type="text/css" /> </head>
The 60 character limit is completely exceeded.