
Are the articles published by dedecms static pages?
The official program of dedecms publishes static pages by default , that is, as soon as an article is published, a static page will be automatically generated. Of course, the published article can also be set to be dynamic or static through SQL commands in the dedecms background.
dedecms--Convert static pages into dynamic pages
Specific steps:
1: Set the homepage to dynamic browsing
2: Enter the background → System → SQL command line tool → Run SQL command line:
Single-line command execution query command:
1. Set all documents to "dynamic only": update dede_archives set ismake=-1
2. Set all documents to "static only": update dede_archives set ismake=1
3. Set all columns to "use dynamic pages": update dede_arctype set isdefault=-1
4. Set all columns to "use static pages": update dede_arctype set isdefault=1
This way you don't need to update the document in the background every time you update the page. and update the column;
3: After setting the page to a dynamic page, after we refresh the article content page, we will find that the path to the static page is different. The path to the original static page article page is :/a/wenzhang/2017/0526/XXX.html; But after changing it to a dynamic page, it becomes
/plus/view.php?aid=XXX;
More For dedecms technical articles, please visit the dedecms usage tutorial column!
The above is the detailed content of Are the articles published by dedecms static pages?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

Atom editor mac version download
The most popular open source editor

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Mac version
God-level code editing software (SublimeText3)





