Local Import Opening to .com NOT .dev

Hello,

Just attempted to import archive I pulled from Flywheel and the website is opening to the live ‘.com’ website; not the ‘.dev’ install. I ran search/replace in database for old/new domain and still no luck.

Any ideas?

Sorry for the trouble!

First, I would try restarting the site just to make sure the configs are properly loaded.

If that doesn’t help I would go through the following:

  • Check to make sure you don’t have a .htaccess redirect (if using Apache)
  • Verify the database changes using Adminer or Sequel Pro (specifically check wp_options for siteurl and home)
  • Check wp-config.php to see if it’s forcing any redirect there