Title: Replace links inside post
Last modified: August 30, 2016

---

# Replace links inside post

 *  [felixinx](https://wordpress.org/support/users/felixinx/)
 * (@felixinx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-links-inside-post/)
 * Hi,
 * I have a blog, and I have changed the URL of it. [inx.shost.ca](http://inx.shost.ca)
   to [carosou.com](http://carosou.com).
 * But now, the image in all the post are from the old website, for example, on 
   a post:
    `<img border="0" src="http://i1.wp.com/inx.shost.ca/wp-content/uploads/
   2015/02/Photo-groupe_dernier-cours-PPA.jpg?resize=400%2C300" width="20" height
   ="27"></img>` _**Don’t work**_ `<img border="0" src="http://i1.wp.com/carosou.
   com/wp-content/uploads/2015/02/Photo-groupe_dernier-cours-PPA.jpg?resize=400%
   2C300" width="20" height="27"></img>` _**Works!**_
 * How can I changed all these post, and this, maybe with a SQL query?
 * Thanks

The topic ‘Replace links inside post’ is closed to new replies.

## Tags

 * [db](https://wordpress.org/support/topic-tag/db/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [felixinx](https://wordpress.org/support/users/felixinx/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/replace-links-inside-post/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
