Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of saving directory by replacing column files in batch by DedeCMS

Shulou Source: shulou.com Published: 2022-06-02 05:00:56 09月30日 Update

This article will explain in detail the method of saving catalogs for DedeCMS batch replacement column files. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

How does DedeCMS batch replace column files and save directories?

The method of saving directory by replacing column files in batch by DedeCMS

Recommended study: dream weaving cms

Sometimes because there are too many columns, but it is necessary to modify the saved list of the columns. It is really troublesome and slow to modify one by one. So I think of a way to modify the saved catalog of the column in batch. Is to replace in batch:

Update dede_arctype set typedir = replace (typedir, "{cmspath} / a /",'{cmspath} / html/')

Replace html with the directory you specified, and the background SQL command line tool can be run.

If you want to batch remove the year, month and day in the article save path, run this:

Update dede_arctype set namerule = replace (namerule, "{Y} / {M} {D} /",') the method of saving catalogs for DedeCMS batch replacement column files is shared here. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Columns directories files methods articles more articles running good practical troublesome content background commands that is tools years months days sometimes knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL NVidia Microsoft Docker Huawei