織夢預設文章命名規則和列表命名規則修改方法

2021-10-04 12:08:02 字數 1737 閱讀 7919

織夢dedecms預設增加欄目的文章和列表目錄規則如下: 『///』.$cfg_df_ext。/list__.html。

一、dede 修改預設文章命名規則

1、單獨新增分類預設修改,修改檔案:include/common.inc.php。

查詢**:

//文件的預設命名規則

$art_shortname

=$cfg_df_ext

='.html'

;$cfg_df_namerule

='///'

.$cfg_df_ext

;

2、批量新增分類預設修改,修改檔案:dede/templets/catalog_add_quick.htm

查詢**:

"26"

/td>

"namerule" type=

"text" id=

"namerule" value=

"//.html" size=

"40"

/>

"img/help.gif" alt=

"幫助" width=

"16" height=

"16" border=

"0" style=

"cursor:pointer" onclick=

"showhide('helpvar2')"

/>

<

/td>

<

/tr>二、dede 修改預設列表命名規則

1、單獨新增分類預設修改,修改檔案:dede/templets/catalog_add.htm

查詢**:

"26"

>列表命名規則:<

/td>

"namerule2" type=

"text" id=

"namerule2" value=

"/list__.html"

class

="pubinputs" style=

"width:250px"

/>

"img/help.gif" alt=

"幫助" width=

"16" height=

"16" border=

"0" style=

"cursor:pointer" onclick=

"showhide('helpvar3')"

/>

<

/td>

<

/tr>2、批量新增分類預設修改,修改檔案:dede/templets/catalog_add_quick.htm

查詢**:

"26"

>列表命名規則:<

/td>

"namerule2" type=

"text" id=

"namerule2" value=

"/list__.html" size=

"40"

/>

"img/help.gif" alt=

"幫助" width=

"16" height=

"16" border=

"0" style=

"cursor:pointer" onclick=

"showhide('helpvar3')"

/>

<

/td>

<

/tr>

DEDECMS批量修改預設文章和列表命名規則的方法

很多人因為新增分類而苦惱,尤其是批量新增的時候,必須要重新修改一下文章命名規則和列表命名規則,都是為了做seo。如果進行預設值的修改,就會事半功倍。不多說。一 dede5.5修改預設文章命名規則。1 單獨新增分類預設修改 修改檔案 include common.inc.php。查詢 文件的預設命名規...

修改織夢欄目裡文章和列表目錄規則

預設增加欄目的文章和列表目錄規則如 cfg df ext。list html。art shortname cfg df ext html cfg df namerule cfg df ext 2 批量新增分類預設修改,修改檔案 dede templets catalog add quick.htm ...

織夢 呼叫文章正文

field id runphp yes aid me row globals dsql getone select body from dede addonarticle where aid aid me cn substr html2text 400 field id dede addonarti...