We may ask, if we change the domain name, do the site how to modify the image path Ah, the site after the website all the articles and software pictures are not displayed, because the dream upload image with an absolute address, if the domain name is changed, the previous post of the image URL will not be followed by change, So we need to replace the old domain name with a new domain name, the method is very simple, there is a SQL statement to update the text content of the article line. Copy the following SQL statement into the background of the dream dedecms, point System-SQL command-line tool, and then see a text box, enter the SQL statement in the text box, as determined by the line. If the operation succeeds, the above will prompt "x SQL statements executed successfully!" " Update dede_addonarticle set Body=replace (body, ' old domain name ', ' new domain name ') Similarly, the picture in the software introduction can only replace the URL within the Addonsoft field. And then regenerate the HTML page again, the old domain name in the article is replaced by the new one. Site changed the domain name Picture path Batch modification method |