Title: Migration Failure
Last modified: October 12, 2016

---

# Migration Failure

 *  [zach@cp](https://wordpress.org/support/users/cpit/)
 * (@cpit)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/migration-failure-2/)
 * I’m trying to move my company’s WordPress site to a new server.
    After copying,
   the front page loads fine, but all links to other pages are broken with this 
   error page. I’m a half-baked developer, learning php and apache, please help!
 * Not Found
    The requested URL /pagename/ was not found on this server. Apache/
   2.4.7 (Ubuntu) Server at 104…. Port 80
 * Here’s what I’ve tried – all of this results in the same site that loads the 
   front page but has broken links:
    -Fresh WP install and copy entire wp-content
   folder. So far so good. -Imported xml data. Error message “failed.” -Importing
   database after running search and replace on every instance of the url. I tried
   using Database Search and Replace Script in PHP from interconnect/it to be sure
   the replace worked despite any serialization. Links still broken. -Copied over.
   htaccess file -Defining the site address url and wordpress address url through
   wp-config.php -Fiddled with permalink settings from dashboard
 * My thought’s at this point. Could WordPress be attempting to change the links
   based on permalink settings? Could a plugin license (Woocommerce) affect my site?
    -  This topic was modified 9 years, 7 months ago by [zach@cp](https://wordpress.org/support/users/cpit/).
    -  This topic was modified 9 years, 7 months ago by [zach@cp](https://wordpress.org/support/users/cpit/).
    -  This topic was modified 9 years, 7 months ago by [zach@cp](https://wordpress.org/support/users/cpit/).

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/migration-failure-2/#post-8284500)
 * > Could WordPress be attempting to change the links based on permalink settings?
 * Have you tried switching back to the plain (default) permalink structure temporarily
   to see if that works? Is mod_rewrite definitely running on the new server?
 *  Thread Starter [zach@cp](https://wordpress.org/support/users/cpit/)
 * (@cpit)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/migration-failure-2/#post-8293321)
 * > Have you tried switching back to the plain (default) permalink structure temporarily
   > to see if that works? Is mod_rewrite definitely running on the new server?
 * Ah! That was it! My permalinks wouldn’t change because mod_rewrite was disabled.
 * Thank you!!

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

The topic ‘Migration Failure’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [zach@cp](https://wordpress.org/support/users/cpit/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/migration-failure-2/#post-8293321)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
