Title: Function replace all url image change wrong url
Last modified: August 31, 2016

---

# Function replace all url image change wrong url

 *  [dongphong](https://wordpress.org/support/users/dongphong/)
 * (@dongphong)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/function-replace-all-url-image-change-wrong-url/)
 * Hi sir!
 * I thinks function change url of wp-imgur plugins have problem: Please fix is 
   thanks you.
 * My testing
 * 1: Begin upload picture to post: I have attach pic-1.jpg, pic-2.jpg, pic-3.jpg,
   pic-4.jpg to port.
    My source of post:
 * <img class=”alignnone size-full wp-image-4015″ src=”[http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-4.jpg&#8221](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-4.jpg&#8221);
   alt=”pic-4″ width=”900″ height=”584″ /> <img class=”alignnone size-medium wp-
   image-4016″ src=”[http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-1.jpg&#8221](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-1.jpg&#8221);
   alt=”pic-1″ width=”2560″ height=”1600″ /> <img class=”alignnone size-medium wp-
   image-4017″ src=”[http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-2.jpg&#8221](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-2.jpg&#8221);
   alt=”pic-2″ width=”2560″ height=”1600″ /> <img class=”alignnone size-medium wp-
   image-4018″ src=”[http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-3.jpg&#8221](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-3.jpg&#8221);
   alt=”pic-3″ width=”1440″ height=”900″ />
 * 2: Sync media via wp-imgur plus
    Media sync OK but my post has change
 * <img class=”alignnone size-full wp-image-4015″ src=”[http://i.imgur.com/so16ATw.jpg&#8221](http://i.imgur.com/so16ATw.jpg&#8221);
   alt=”pic-4″ width=”900″ height=”584″ /> <img class=”alignnone size-medium wp-
   image-4016″ src=”[http://i.imgur.com/so16ATwb.jpgpic-1.jpg&#8221](http://i.imgur.com/so16ATwb.jpgpic-1.jpg&#8221);
   alt=”pic-1″ width=”2560″ height=”1600″ /> <img class=”alignnone size-medium wp-
   image-4017″ src=”[http://i.imgur.com/so16ATwb.jpgpic-2.jpg&#8221](http://i.imgur.com/so16ATwb.jpgpic-2.jpg&#8221);
   alt=”pic-2″ width=”2560″ height=”1600″ /> <img class=”alignnone size-medium wp-
   image-4018″ src=”[http://i.imgur.com/so16ATwb.jpgpic-3.jpg&#8221](http://i.imgur.com/so16ATwb.jpgpic-3.jpg&#8221);
   alt=”pic-3″ width=”1440″ height=”900″ />
 * The first image sync and replace url ok
 *  [http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-4.jpg](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-4.jpg)
   to [http://i.imgur.com/so16ATw.jpg](http://i.imgur.com/so16ATw.jpg)
 * But second image and more next image have bug
    ex:
 * [http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-1.jpg](http://hoiyeumeo.xyz/wp-content/uploads/2016/02/pic-1.jpg)
   to [http://i.imgur.com/so16ATwb.jpgpic-1.jpg](http://i.imgur.com/so16ATwb.jpgpic-1.jpg)
   
   [http://i.imgur.com/so16ATwb.jpgpic-1.jpg](http://i.imgur.com/so16ATwb.jpgpic-1.jpg)
   is thumbnail of [http://i.imgur.com/so16ATw.jpg](http://i.imgur.com/so16ATw.jpg)
 * Please help me, I have sync all server, I don’t change any one url! Please
 * [https://wordpress.org/plugins/wp-imgur-plus/](https://wordpress.org/plugins/wp-imgur-plus/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [skalero01](https://wordpress.org/support/users/skalero01/)
 * (@skalero01)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/function-replace-all-url-image-change-wrong-url/#post-7101315)
 * Hi, some time ago i made a plugin to import all the images to imgur because i
   saw problems when importing in the original one plugin.
 * You could try it, follow the instructions in [](https://github.com/weblabormx/WP-Imgur-Plus-Importer)
 *  Plugin Author [skalero01](https://wordpress.org/support/users/skalero01/)
 * (@skalero01)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/function-replace-all-url-image-change-wrong-url/#post-7101316)
 * https:// git hub.com/weblabormx/WP-Imgur-Plus-Importer
 * This is the link, i don’t know why it doesn’t appear in my post before.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Function replace all url image change wrong url’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-imgur-plus.svg)
 * [WP Imgur Plus](https://wordpress.org/plugins/wp-imgur-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-imgur-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-imgur-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-imgur-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-imgur-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-imgur-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [skalero01](https://wordpress.org/support/users/skalero01/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/function-replace-all-url-image-change-wrong-url/#post-7101316)
 * Status: not resolved