如题:DeDeCMS怎么替换文章内所有的链接 例如:
<a href="http://www.1.com/werw.html">abc1</a> <a href="http://www.2.com/dir/werw.html">abc2</a> <a href="http://www.1.com/2324.html">abc3</a> 可以写成PHP文件或mysql语句
欢迎选择我的课程,让我们一起见证您的进步~~
dede后台有批量替换的
找到存放文章的数据表,例如叫tablename ,保存文章内容的字段叫 content 执行下列语句
sqlupdate tablename set content =replace(content,"httpA","httpB")
sql
update tablename set content =replace(content,"httpA","httpB")
dede后台有批量替换的
找到存放文章的数据表,例如叫tablename ,保存文章内容的字段叫 content
执行下列语句