Title: Domain migration problem
Last modified: November 29, 2017

---

# Domain migration problem

 *  Resolved [albertologicstudio](https://wordpress.org/support/users/albertologicstudio/)
 * (@albertologicstudio)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/domain-migration-problem/)
 * hi performs the site domain migration and still maintains the old URL in its 
   domains example: olddomain.com/images/image.jpg.
 * I change all the settings to my new domain buts all image in the Huge-it Gallery
   no change.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdomain-migration-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/domain-migration-problem/#post-9736715)
 * Dear albertologicstudio,
 * Thanks for your post.
    Usually, when migrating the database from one domain to
   another, this issue appears because the links of images are saved with the old
   domain to the new one and as a result, the images are broken.
 * For fixing this issue it will be necessary to apply some changes in the PHPMyAdmin,
   i.e. in the database.
 * 1) Please go to your PHPMyAdmin > domains database >SQL
 * 2) After add
 * UPDATE wp_huge_itgallery_images
    SET image_url = REPLACE(image_url, ‘YourOldDomain’,‘
   NewDomain’) WHERE image_url LIKE ‘YourOldDomain%’
 * replacing OldDomain and NewDomain with your domain names
 * 3) click on “Go” for running the process: [https://prnt.sc/hh4ng5](https://prnt.sc/hh4ng5)
 * 4) while the process is running you need to change the URLs of images to the 
   correct ones: [https://prnt.sc/hh4n6u](https://prnt.sc/hh4n6u) . The URLs should
   be changed manually from the old domain to the new one.
    For making sure how 
   the correct URL will look like, you can add an image from the Media Library to
   our gallery in order to check how the new URL is generated and then change old
   ones according to the exemplified URL added to the gallery for the test.
 * Hope this will be useful.
    We will wait for your feedback.
 * Thanks
 *  Thread Starter [albertologicstudio](https://wordpress.org/support/users/albertologicstudio/)
 * (@albertologicstudio)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/domain-migration-problem/#post-9737770)
 * that worked very well for me!
    **Thank you so much!**
 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/domain-migration-problem/#post-9739712)
 * Dear albertologicstudio,
 * We are so happy with the results you got 🙂
    Thank you very much for keeping 
   us informed. In the case, if you need our help any further, feel free to ask.
   We will be glad to assist.
 * Wish you all the best!

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

The topic ‘Domain migration problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gallery-images_f0b24c.svg)
 * [Image Gallery - Responsive Photo Gallery](https://wordpress.org/plugins/gallery-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-images/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-images/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/domain-migration-problem/#post-9739712)
 * Status: resolved