Curveball cloning WP site to new URL


I am scratching my head, and wonder what I’m missing here. I have done this kind of cloning lots of times, and never had an issue before. I am a Linux systems administrator by trade with significant exposure to WordPress, but not a WordPress expert.

I have attempted to clone a specific wordpress site (I’ve tried it more then once, in case I made any stupid mistakes), but I can’t get it working. I have

  1. Dumped DB from old site.
  2. Copied files from old to new site, and updated file permissions.
  3. Done a global URL search on replace on the database for the domain name in question.
  4. Done a global search and replace on all files for the domain name in question
  5. Modified wp-config.php appropriately for the new DB and loaded it in.
  6. Checked, double checked, triple checked the above. Also checked for path related problems. Can’t find anything.
  7. Disabled all caching I could find, including looking for caching files and plugins. Including on server and locally.
  8. Checked that the server I am visiting and cloning is the correct one.

The site in question uses Beaver Builder. One interesting datapoint is that on the new version of the site the menu does not work – it displays “CHOOSE MENU”. When logged in and clicking on that Choose Menu icon it takes me to the main menu which is there.

I have no problem logging into the backend, and can see all the data that should be there.

If I clone the theme to a different server and keep the domain name the same (and use a hosts file) everything seems to work? The problem appears to relate to the changed URL.

I’ve tried disabling all the plugins (bu renaming the plugins folder). Did not make any difference.

Anyone seen something like this before? Anything I’ve missed?

davidgo 4 years 2020-03-06T23:50:54-05:00 0 Answers 117 views 0

Leave an answer