dedecms默认文章命名规则及列表命名规则修改

列表命名规则{typedir}/list_{tid}_{page}.html

在/dede/templets/catalog_add.htm下修改,大约495行。

<tr> <td height="26" style="padding-left:10px;">列表命名规则:</td> <td> <input name="namerule2" type="text" id="namerule2" value="{typedir}/list_{tid}_{page}.html" class="pubinputs" style="width:250px" /> <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"/></td> </tr>文章命名规则

{typedir}/{Y}/{M}{D}/{aid}.html

在/include/common.inc.php文件里修改,大约209行。

php;">//文档的默认命名规则$art_shortname = $cfg_df_ext = '.html';$cfg_df_namerule = '{typedir}/{Y}/{M}{D}/{aid}'.$cfg_df_ext;

可随意改动。例如我的http://68idc.cn:

文章命名规则

php;">//文档的默认命名规则$art_shortname = $cfg_df_ext = '.html';$cfg_df_namerule = '{typedir}/{aid}'.$cfg_df_ext;

列表命名规则

<tr> <td height="26" style="padding-left:10px;">列表命名规则:</td> <td> <input name="namerule2" type="text" id="namerule2" value="{typedir}/index_{page}.html" class="pubinputs" style="width:250px" /> <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"/></td> </tr>

有些人注定是等待别人的,有些人是注定被人等的。

dedecms默认文章命名规则及列表命名规则修改

相关文章:

你感兴趣的文章:

标签云: