Title: Migration 404 errors
Last modified: August 21, 2016

---

# Migration 404 errors

 *  Resolved [Inglebard](https://wordpress.org/support/users/inglebard/)
 * (@inglebard)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/migration-404-errors/)
 * Hi,
    I have got a website which is working well this the last NextGen Gallery
   version installed. I need to do some modification on it, so i decided to copy
   database and file to create a devellopment environnemet. I change domain name,
   database configuration and NextGen gallery don’t working.
 * Here is the list of missing file :
 * “NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/persist.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/persist.js?ver=3.9.1&#8221);
   “
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ngg_store.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ngg_store.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ajax.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ajax.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/nextgen_gallery_related_images.css?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/nextgen_gallery_related_images.css?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/frame_event_publisher.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/frame_event_publisher.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/store.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/store.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/gritter.min.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/gritter.min.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/css/gritter.css?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/css/gritter.css?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.css?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.css?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ajax.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ajax.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/persist.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/persist.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/store.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/store.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ngg_store.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/ngg_store.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/frame_event_publisher.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/frame_event_publisher.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/gritter.min.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/gritter/gritter.min.js?ver=3.9.1&#8221);“
   NetworkError: 404 Not Found – [http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.js?ver=3.9.1&#8221](http://website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/ngg_progressbar.js?ver=3.9.1&#8221);
 * I try to reinstall but it’s not working.
    It’s really strnage because i have 
   no error on production website but these files not exists too.
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/migration-404-errors/?output_format=md) 
[1](https://wordpress.org/support/topic/migration-404-errors/?output_format=md) 
2

 *  [morfie](https://wordpress.org/support/users/morfie/)
 * (@morfie)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/migration-404-errors/page/2/#post-5005928)
 * [@yalet](https://wordpress.org/support/users/yalet/), awesome! Very helpful!
   
   Another bit of info about why this happens: Items are stored in JSON format. 
   Inside the JSON are strings with a character count. When you rename the domain,
   if the domain name has a different number of characters than what you are replacing
   it with, the character count in the JSON won’t match the string it represents.
   That is why the issues occur. This isn’t just with NextGEN Gallery, but with 
   a lot of WP Core and Plugin content storage.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/migration-404-errors/page/2/#post-5005929)
 * [@morfie](https://wordpress.org/support/users/morfie/) – Thanks for sharing this
   observation!
 * – Cais.

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/migration-404-errors/?output_format=md) 
[1](https://wordpress.org/support/topic/migration-404-errors/?output_format=md) 
2

The topic ‘Migration 404 errors’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [domain](https://wordpress.org/support/topic-tag/domain/)

 * 17 replies
 * 4 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/migration-404-errors/page/2/#post-5005929)
 * Status: resolved