Title: Performance issue after migration
Last modified: January 15, 2021

---

# Performance issue after migration

 *  [garywsmith](https://wordpress.org/support/users/garywsmith/)
 * (@garywsmith)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/performance-issue-after-migration/)
 * I have been helping to migrate this site. Prior to the migration we created [https://www2.managedbypros.com/](https://www2.managedbypros.com/),
   migrated all of the files over, and then updated the options and set www2 as 
   the domain. I then loaded better search and replace, updated all of the links,
   and boom, site worked great.
 * So them comes time to migration. I update all of the links to [https://www.managedbypros.com/](https://www.managedbypros.com/)
   using better search replace and pointed the domain to the new ip (to the same
   ip as www2) and now I’m seeing 2 second+ load times on pages.
 * There is nothing special in the .htaccess.
 * So, I run the updated to go back to [https://www2.managedbypros.com/](https://www2.managedbypros.com/)
   and it’s lighting fast. I move it to [https://managedbypros.com/](https://managedbypros.com/)(
   instead of [https://www.managedbypros.com/](https://www.managedbypros.com/)) 
   and it’s slow again.
 * The cpanel was setup to [http://www.managedbypros.com](http://www.managedbypros.com)
   so I figure if it had something to do with that then I would see some performance
   issues there as well.
 * 0.4 sec to first byte
    [https://gtmetrix.com/reports/www2.managedbypros.com/Iy0P04xw/](https://gtmetrix.com/reports/www2.managedbypros.com/Iy0P04xw/)
 * 1.4 sec to first byte
    [https://gtmetrix.com/reports/www.managedbypros.com/v1QqcyQW/](https://gtmetrix.com/reports/www.managedbypros.com/v1QqcyQW/)
 * Same server, same folder, only updating all settings from www2 to www.
 * I’m absolutely lost on this.
 * Any thoughts?
    -  This topic was modified 5 years, 3 months ago by [garywsmith](https://wordpress.org/support/users/garywsmith/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fperformance-issue-after-migration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/performance-issue-after-migration/#post-13911086)
 * [https://www.managedbypros.com/](https://www.managedbypros.com/) is redirecting
   to [https://managedbypros.com/](https://managedbypros.com/) , thus the extra 
   time.
 * [https://gtmetrix.com/reports/www.managedbypros.com/v1QqcyQW/](https://gtmetrix.com/reports/www.managedbypros.com/v1QqcyQW/)(
   refer Waterfall chart)
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/performance-issue-after-migration/#post-13911105)
 * > So, I run the updated to go back to [https://www2.managedbypros.com/](https://www2.managedbypros.com/)
   > and it’s lighting fast. I move it to [https://managedbypros.com/](https://managedbypros.com/)(
   > instead of [https://www.managedbypros.com/](https://www.managedbypros.com/))
   > and it’s slow again.
 * That is logical and easily explained:
 * When you’re using [https://www2.managedbypros.com/](https://www2.managedbypros.com/)
   it’s “lightning fast”, because there is NO outside traffic going to this URL.
   Every site and server would be “lightning fast” as long as there is zero traffic
   going to it.
 * When you switch to [https://www.managedbypros.com/](https://www.managedbypros.com/)
   or [https://managedbypros.com/](https://managedbypros.com/), now all the web 
   site’s traffic (as well as bots!) is hitting the site. So performance will definitely
   be lower compared with when there is zero traffic.
 * So your test is more of an “apples to oranges” comparison. If you want to have
   a true “apples to apples” comparison, use a stress tester to point similar traffic
   as you have on your main site to www2 as well… then compare the performance of
   the two. I doubt there will be much difference.
 *  Thread Starter [garywsmith](https://wordpress.org/support/users/garywsmith/)
 * (@garywsmith)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/performance-issue-after-migration/#post-13913418)
 * Thanks for the quick responses.
 * The traffic is minimal. Generally we’re talking a few hits her hour. I has thought
   about this as well. During the testing period I was literally the only one hitting
   the site. I was tailing the log files to actually see if there were some other
   errors that I might have been missing.
 * As for the www redirecting to the root, [http://www.managedbypros.com](http://www.managedbypros.com)
   is the landing site and WP is configured for that in the admin (and all of the
   relevant links). I toy with that idea a little more, but I had tried setting 
   [https://managedbypros.com](https://managedbypros.com) as the primary and updated
   the links there as well, same slower experience.

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

The topic ‘Performance issue after migration’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [garywsmith](https://wordpress.org/support/users/garywsmith/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/performance-issue-after-migration/#post-13913418)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
