- 服装定制设计类网站织梦...
- 生态水果蔬菜商城类网站...
- 中国风古典园林假山工程...
- 水性工业漆类企业网站织...
- 甲醛检测空气污染治理类...
- 电脑机箱配件类网站织梦...
- 宠物兽医门诊医院类网站...
- 金融理财投资类网站织梦...
- QQ个性空间日志资讯类网...
- 五金配件加工机械设备类...
- 律师事务所网站织梦模板...
- 餐饮美食类网站织梦模板...
- 新闻博客资讯类网站织梦...
- 微商货源网店代理类网站...
- PPT素材下载类网站织梦模...
- 苗木草坪种植绿化类网站...
- 财经新闻资讯类网站织梦...
- 五金水槽挂架类网站织梦...
- 艺考培训类网站织梦模板...
- 阀门制造设备展示类网站...
DEDECMS的SQL命令批量替换
- 更改文章中的内容
update dede_addonarticle set body=replace(body,'原来的字符','替换后的字符')
解释
update dede_addonarticle set body=replace(body,’软件下载’,'插件下载’)
- 更改缩略图目录
update dede_archives set litpic=replace(litpic,'原来的字符','替换后的字符')
解释
update dede_archives set litpic=replace(litpic,’uplimg,’tupian’)
- 批量替换文章模型中内容部分图片链接路径
update dede_addonarticle set body=replace(body,'src="http://www.91084.com/img/','src="http://www.91084.com/images/');
解释
把图片路径由原来的http://www.91084.com/img/替换成http://www.91084.com/images/
- 批量替换文章模型中内容部分超链接
update dede_addonarticle set body=replace(body,'href="http://www.gezhancn.com','href="http://www.91084.com');
解释
把文章模型中的超链接由原来的http://www.gezhancn.com替换成http://www.91084.com
- 批量替换文章模型中内容部分图片锚文本文字
update dede_addonarticle set body=replace(body,'alt="http://www.gezhancn.com/','alt="http://www.91084.com/');
解释
把文章模型中的图片锚文本信息由原来的http://www.gezhancn.com替换成http://www.91084.com
- 批量替换软件模型内容部分超链接
update dede_addonsoft set introduce=replace(introduce,'href="http://www.gezhancncom/images/js/test.html','href="http:/www.91084.com/tag.html');
解释
把软件模型内容中超链接由原来的http://www.gezhancn.com/images/js/test.html替换成http:/www.91084.com/tag.htm
把软件模型内容中超链接由原来的http://www.gezhancn.com/images/js/test.html替换成http:/www.91084.com/tag.htm
- 批量替换文章模型中作者字段
update dede_archives set writer=replace(writer,'http://www.gezhancn.com','http://www.91084.com');
解释
把文章模型中的作者由原来的http://www.gezhancn.com替换成http://www.91084.com
- 批量替换文章模型中来源字段
update dede_archives set source=replace(source,'格展网络www.gezhancn.com','格展网络www.91084.com');
解释
把文章模型中的帖子来源由原来的格展网络www.gezhancn.com替换成格展网络www.91084.com
- 批量替换文章命名规则
update `dede_arctype` set namerule='{typedir}/{aid}.html';
解释
把站内所有文章模型命名规则全部替换成{typedir}/{aid}.html这样一种形式
- 批量替换软件模型演示地址超链接
update dede_addonsoft set writer=replace(officialUrl,'http:/www.gezhancn.com','http://www.91084.com');
解释
把软件模型原始地址超链接由原来的http:/www.gezhancn.com替换成http://www.91084.com
- 批量审核文章
update dede_archives set arcrank=0;update dede_arctiny set arcrank=0;update dede_taglist set arcrank=0;
解释
arcrank=0 仅动态
arcrank=0 仅动态