I copied a production website to staging, and I started seeing the WPML alert saying "This site has moved to a new location" with some confusing information - see the screenshot.
I believe I should have gotten an alert saying "WPML detected a new address for this site" instead.
I went ahead and changed the site WPML key to a development key matching the staging URL.
But the same alert is still there, so I can't translate on staging.
WPML is able to see that the site is existing on a production environment due to the key and it tells us practically that the live site is at that URL, so this current site is a copy of that.
I am sorry, I still need help. I've read the documentation and it looks like the detection got it backwards.
The site runs on tratson.ch and there are no issues and no alert.
I've cloned the site to staging url, and on the staging url it says that the site has been moved to tratson.ch.
So I click on "indicate that this site should be at hidden link" and then click "No - keep the site on hidden link".
But that simply takes me back to the alert.
I've generated a new development key for the staging site and updated the key within WPML, but the alert is still there and I can't translate on staging.
After a lot of digging, I'm coming back with more questions.
There are multiple reasons that can cause this notification to continue to pop up so I will still have to ask some questions (hopefully that will be fine with you) so that I can better understand what exactly was done before seeing the notification.
We have:
1. Tratson
2. Tratson dev
You said that the site was copied/migrated from PROD to DEV.
But here's something important that I need to understand because I think this might have happened:
1. you guys had the live tratson and (possibly or not) the dev environment
2. you might have created the dev version after the live one or maybe dev was first
3. you worked on the dev version
4. then you moved it to prod
5. in prod you saw the migration banner
6. in prod then you selected the "MOVED" version
7. However, now you might have returned to the staging site or maybe you activated the staging site again
From that notice, seeing that still, means that the staging site is still not migrated FROM the main site so it shows this banner on staging.
So I would need to know the whole complete process that took place with these 2 environments so that I can hopefully better understand what happened and how we can fix it.
Please let me know.
Mihai
The topic ‘[Closed] Website copied to staging, wrong URL change detection by WPML’ is closed to new replies.