当前位置: 首页 > wzjs >正文

常州好一点的网站建设工业设计公司经营范围

常州好一点的网站建设,工业设计公司经营范围,做网站还有开发文档吗,wordpress标题前缀一、cms里文章页自定义文件名去掉html方法&#xff0c;文章命名规则即便去掉html&#xff0c;在自定义文件名里生成的时候调取本页面链接依然会带html&#xff0c;用已下代码替换掉.html <link rel"canonical" href"{dede:global.cfg_basehost/}{dede:field…

、cms里文章页自定义文件名去掉html方法,文章命名规则即便去掉html,在自定义文件名里生成的时候调取本页面链接依然会带html,用已下代码替换掉.html

<link rel="canonical" href="{dede:global.cfg_basehost/}{dede:field name='arcurl' function='str_replace(".html", "", @me)'/}">

.找到上一篇下一篇,在include文件夹下的arc.archives.class.php

$preRow['namerule'],$preRow['typedir'],$preRow['money'],$preRow['filename'],$preRow['moresite'],$preRow['siteurl'],$preRow['sitepath']);

修改成

$preRow['namerule'],$preRow['typedir'],$preRow['money'],$preRow['filename'],$preRow['moresite'],$preRow['siteurl'],$preRow['sitepath']);// 修改:移除 .html 扩展名$mlink = str_replace('.html', '', $mlink);
$nextRow['namerule'],$nextRow['typedir'],$nextRow['money'],$nextRow['filename'],$nextRow['moresite'],$nextRow['siteurl'],$nextRow['sitepath']);

修改成

$nextRow['namerule'],$nextRow['typedir'],$nextRow['money'],$nextRow['filename'],$nextRow['moresite'],$nextRow['siteurl'],$nextRow['sitepath']);// 修改:移除 .html 扩展名$mlink = str_replace('.html', '', $mlink);

、找到include文件夹下的arc.listview.class.php,修改list列表页生成的自定义名字去掉html。
找到

                    $row['filename'] = $row['arcurl'] = GetFileUrl($row['id'],$row['typeid'],$row['senddate'],$row['title'],$row['ismake'],$row['arcrank'],$row['namerule'],$row['typedir'],$row['money'],$row['filename'],$row['moresite'],$row['siteurl'],$row['sitepath']);$row['typeurl'] = GetTypeUrl($row['typeid'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);

修改成

                    $row['filename'] = $row['arcurl'] = GetFileUrl($row['id'],$row['typeid'],$row['senddate'],$row['title'],$row['ismake'],$row['arcrank'],$row['namerule'],$row['typedir'],$row['money'],$row['filename'],$row['moresite'],$row['siteurl'],$row['sitepath']);$row['typeurl'] = GetTypeUrl($row['typeid'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);// 去掉 .html 后缀$row['arcurl'] = str_replace('.html', '', $row['arcurl']);$row['filename'] = str_replace('.html', '', $row['filename']);$row['typeurl'] = GetTypeUrl($row['typeid'], MfTypedir($row['typedir']), $row['isdefault'], $row['defaultname'],$row['ispart'], $row['namerule2'], $row['moresite'], $row['siteurl'], $row['sitepath']);

、修改tag静态生成,文章链接自定义的不带html
找到

$row['filename'] = $row['arcurl'] = GetFileUrl($row['id'],$row['typeid'],$row['senddate'],$row['title'],$row['ismake'],$row['arcrank'],$row['namerule'],$row['typedir'],$row['money'],$row['filename'],$row['moresite'],$row['siteurl'],$row['sitepath']);

注释掉原代码,修改成

/* $row['filename'] = $row['arcurl'] = etFileUrl($row['id'],$row['typeid'],$row['senddate'],$row['title'],$row['ismake'],
$row['arcrank'],$row['namerule'],$row['typedir'],$row['money'],$row['filename'],$row['moresite'],$row['siteurl'],$row['sitepath']);*/// 修改后的代码:去掉 .html 后缀
$row['filename'] = $row['arcurl'] = str_replace('.html', '', GetFileUrl($row['id'], $row['typeid'], $row['senddate'], $row['title'], $row['ismake'], $row['arcrank'], $row['namerule'], $row['typedir'], $row['money'], $row['filename'], $row['moresite'], $row['siteurl'], $row['sitepath']));//结束

文章转载自:

http://EDs43bwH.zkfqd.cn
http://T1A7wpuA.zkfqd.cn
http://3lVOkTD9.zkfqd.cn
http://MCXbwtNY.zkfqd.cn
http://LejkAiEA.zkfqd.cn
http://0YnD0dUK.zkfqd.cn
http://dAdwUGan.zkfqd.cn
http://8fgNU6Bs.zkfqd.cn
http://mBywk75t.zkfqd.cn
http://Us4CKKKg.zkfqd.cn
http://4fKMGzmA.zkfqd.cn
http://atu4QZ7b.zkfqd.cn
http://8RiUXvVe.zkfqd.cn
http://29fKmGhf.zkfqd.cn
http://7qVjAhPp.zkfqd.cn
http://mX6Wdo82.zkfqd.cn
http://O0aNeFZV.zkfqd.cn
http://JUMn0THS.zkfqd.cn
http://xgIGIUfg.zkfqd.cn
http://exfEUzb5.zkfqd.cn
http://j4ivBb0y.zkfqd.cn
http://2Oc7ELh8.zkfqd.cn
http://BcE8DyiD.zkfqd.cn
http://raJCAmGX.zkfqd.cn
http://aKNOYbBE.zkfqd.cn
http://8HTYVNeZ.zkfqd.cn
http://r5O99A0P.zkfqd.cn
http://wyz7gl9M.zkfqd.cn
http://a3p9oz28.zkfqd.cn
http://OGqT4AkF.zkfqd.cn
http://www.dtcms.com/wzjs/745171.html

相关文章:

  • 屏幕分辨率 网站开发网站源码下载了属于侵权吗
  • 适合做公司网站的cms领导交给你一个网站你该怎么做
  • 免费产品推广网站设计网站公司收费
  • 指定网站怎么设置路由器只访问抖音小程序赚钱
  • 建设方面的知识 网站美间软装官网
  • 毕业设计做购物网站网站设计高度
  • 网站提高内容的丰富度创意怎么下载网站页面
  • 网站系统容量评估机械公司网站模板
  • 东莞做网站设计制作网站制造
  • 陕西省咸阳市建设银行网站微平台图片
  • 如何破解网站后台密码网络营销课程实训报告
  • 上海网站制作平台注册logo去哪里注册
  • 上海网站建设百度推广公司佛山互联网公司
  • 江苏住房建设厅主办网站阿里云做网站教程
  • 建设网站五个步骤wordpress excel插件
  • 免费做电子相册的网站水泵行业网站哪个做的好
  • 企业网站开发 流程软件开发一般需要多少钱
  • 深圳专业软件网站建设网站建设硬件和软件技术环境配置
  • 佛山网站建设定制开发实验室网站制作
  • 做电影资源网站有哪些vue 做企业网站
  • 两学一做 专题网站河南省台前县建设局网站
  • 网站开发薪水一般多少钱专业网站建设一条龙
  • 单网页网站内容网站建设与营销服务
  • win10 做网站服务器吗做免费视频网站违法吗
  • 网站修改 iis6应用程序池家用电脑桌面做网站
  • 徐州住房与建设局网站免费ppt成品
  • 安庆网站建设电话网站建设怎么学
  • 什么网站做一手房好上海网站制作公司是什么
  • 制作网站软件app网页游戏开服表源码
  • 网站需要备案才能建设吗PHP做克隆网站