-
五金制品厨房用品类网站...
-
淘宝客程序团购打折类网...
-
财税记账类网站织梦模板...
-
园林石业装饰石材类网站...
-
互联网新闻博客资讯类网...
-
娱乐新闻资讯类网站织梦...
-
网页素材下载类网站织梦...
-
道路护栏交通设施类网站...
-
小程序社交电商开店网络...
-
床上用品类网站织梦模板...
-
美容化妆类网站织梦模板...
-
大理石瓷砖生产类网站织...
-
空气净化器设备类网站织...
-
全自动溶剂萃取仪器设备...
-
投资财富管理类网站织梦...
-
dedecms微信电子名片系统...
-
粮食米业类网站织梦模板...
-
模板源码商城下载类网站...
-
医用防护口罩类网站织梦...
-
财富管理培训咨询类网站...
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 仅动态


