-
环保新能源企业集团类网...
-
装修装饰设计类网站织梦...
-
财税记账工商注册认证类...
-
风景摄影类网站织梦模板...
-
货物运输汽车贸易类网站...
-
包装袋设计类网站织梦模...
-
车载仪器仪表设备类网站...
-
环球新闻时报资讯类网站...
-
床上生活用品类网站织梦...
-
齿轮减速机设备类网站织...
-
家装建材瓷砖类网站织梦...
-
网络建站设计类网站织梦...
-
生活资讯百科门户类网站...
-
物联网灯箱标识类网站织...
-
五金电器出口英文外贸类...
-
娱乐新闻资讯类网站织梦...
-
硅胶制品类网站织梦模板...
-
移动POS机刷卡机类网站织...
-
工商资质注册办理类网站...
-
中英双语律师事务所类网...
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 仅动态