This thread is resolved. Here is a description of the problem and solution.
Problem: After migrating a development site to production, the client encountered an error message stating 'Site Moved or Copied - Action Required.' This occurred because the WPML plugin was not properly migrated using WPML's migration feature. Solution: We checked the site and confirmed there were no critical errors. The error banner was due to an outdated version of WPML from before version 4.4, which was not compatible with the newer 4.8.2 version. To resolve this, we: 1. Installed the last 4.4.X version of WPML along with the latest version of the Translation Management plugin. 2. Ran the "move" option in the WPML settings. 3. Updated WPML to the latest version to ensure compatibility and prevent similar issues. We recommend following these steps for updating WPML in the future to avoid version compatibility issues: https://wpml.org/faq/updating-wpml-manually/
If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
I'm able to access the dev site now, thanks for the credentials. However, I'm not seeing the issue there. The Translation Management dashboard does not have the banner and loads as expected. I confirmed that WPML plugins are up to date and the Advanced Translation Editor is active. Can you tell me where you are seeing the error about migration on this dev site so I can further troubleshoot here? Thanks!
I was able to login and resolve the issue by installing an older version of WPML with the Translation Management add on. I then was able to click the banner to indictate the site is at this URL, and then I updated WPML to the latest version. Everything seems to be working as expected now.
Hey Lauren. I do see the notification banner is now gone, but I'm seeing that the WPML Multilingual CMS plugin is the current one. Can you explain a bit more about what you did, versions, etc? We're trying to understand and determine how to avoid this in the future.
For added context, we have three sites–prod, staging and dev. When we work on miscellaneous changes, we work in staging. When we work on larger, more site-wide changes, we work in dev. If the work is minor enough, we copy it from one site to the other manually. However, when we work on dev for those larger changes, we've been using WP Migrate to copy the entire site (minus some tables and other items) from dev to prod. This is where I think the issues are stemming from. As we discussed originally, it seemed like WPML was still stuck seeing the dev domain instead of the prod domain.
Any insight you can provide is appreciated. Thanks!
As long as your sites are both registered with their own site key, this shouldn't be a problem. The issue here happened because you updated from a much older version. WPML 4.4.x required the Translation Management add on plugin. We no longer use that plugin as the functionality was built into the core plugin. So your old version was expecting the translation management add on in order to get past that banner. To resolve this, I deactivated all WPML plugins and deleted the core. I then installed WPML 4.4.12 along with the Translation Management add on plugin. This allowed me to get rid of the banner. I then deleted those two plugins, reinstalled the latest core, and activated the rest of the WPML plugin add ons. To prevent this from happening in the future, just be sure to keep your WPML plugins up to date on both production and staging. I hope that helps!
Thanks for the rundown, Lauren! It's interesting because we always keep our plugins up to date, but this must've been an instance where we didn't update quickly after a big update on the plugin side of things.
So, to be sure, is it okay to continue using WP Migrate as we have to push changes between sites?
Yes, it should be fine, just make sure each site is registered in your WPML account and has their own site key and it should work fine. If you do run into any other issues, please don't hesitate to reach out and we will be happy to help.
Hey Lauren. Sorry to bother you again, but I'm wondering if you can take a look at our staging and dev sites. The "Site Moved or Copied - Action Required" banner is still appearing on both sites despite each having their own site keys. Maybe it's fine that the banner is there, but I want to avoid a repeat of the previous issue. Let me know if you can take a look and I can provide creds for each site in a two separate private messages. Thank you!
Hi there, on the dev copy, you just need to mark that this is a copy of the live site. You can register the site key in the wp-config.php file and then when you push dev site to live, if you can leave that file out, the banner shouldn't return. Hope this helps, but if you still have any trouble let me know and I can take a deeper look. This documentation should help: https://wpml.org/faq/automatic-wpml-registration-using-php-for-easy-moves-between-production-development-and-staging/