How does DEDECMS realize dynamic browsing of the entire site?
DDEECMS full-site dynamic browsing implementation method
Specific steps:
1. Dynamic homepage
We only need to delete the index.html generated under the root directory of the website, then core-generate-update homepage, select dynamic browsing, and then click to preview the homepage or update HTML.
If you want to achieve the dynamic effect of the homepage, you can no longer update the website in the background, because after the update, the homepage becomes static again.
2. Set all columns of Dream Weaver to "Use Dynamic Pages". You can select "Use Dynamic Pages" when creating columns;
You can also execute the following SQL statement.
update dede_arctype set isdefault=-1
3. Set all documents on the website to "dynamic only"
Execute SQL statements:
update dede_archives set ismake=-1
You can go to "How to execute sql statements in DedeCMS", See how to execute sql statements.
Some friends who are new to DedeCMS don’t know how to execute sql statements in DedeCMS. Today I will tell you how to do it:
Specific steps:
Backend-> System -> SQL command line tool
The above is the detailed content of How does DEDECMS realize dynamic browsing of the entire site?. For more information, please follow other related articles on the PHP Chinese website!