Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
After moving a site from a development server to a live URL, the translation panel still shows the development URL in the default language left panel on some pages.

Solution:
1. Check the default content for any links pointing to the development site and replace them with the live site URL.
2. If no such URLs are found, the issue might be due to cached data or entries in the database. Follow these steps:
- Back up your site.
- Navigate to WPML > Support > Troubleshooting.
- Click on the buttons indicated in the provided screenshot to clear any cached data or incorrect database entries.
- Open the default page in the Elementor Editor and re-add the link.
- Update the translation and check if the development site URL still appears in the translation editor.

If this solution does not resolve your issue, please open a new support ticket with us and we will be happy to assist you further.

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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 15, 2023 at 4:43 pm #14819041

andreasL-56

I moved my site from dev server URL to live URL. On the front end all looks ok (and the URL is correct hidden link), but when I go in to the translation panel it still shows the dev URL on the default langage left panel on some pages (dev URL was hidden link)

I've run a search and replace for domain name in Elementor but it still shows. Is there another search and replace I have to do somewhere?

November 17, 2023 at 7:53 am #14832117

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

It seems that during the content creation phase on the Dev site, absolute URLs linking to the Dev domain might have been used. After migrating to the live site, these previously added URLs are now appearing in the Translation editor while updating the content.

Would you please edit the default contents and ensure that there are no such links that still point to the dev site? If you find any, please replace the URL with the live site URL and then update the translation.

If you cannot find any URLs pointing to the dev site, please provide the link to the specific page or post where you're experiencing this issue. I'll take a look and advise you on the next steps.

Best regards,
Prosenjit

November 17, 2023 at 10:30 pm #14866533

andreasL-56

Hello Prosenjit, thank you for your answer.
I found one page where it is happing still: hidden link
On the front end, when I hover over the link (Mer information) I see the correct domain name (hidden link)

but in the translation editor it still shows the old dev URL.

I am uploading a screenshot of the translate page where it still shows the dev URL.

do you know what could be causing this, I tried search and replace domain name and I tried empty cache on the firewall.

thanks for your help
Andreas

Screen Shot 2023-11-17 at 3.27.12 PM.png
November 20, 2023 at 7:43 am #14873447

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Andreas,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for providing the link. Upon thorough inspection of the page, I did not find any reference to the Staging site link in the markup. Considering you are seeing it in the Translation editor, it's possible that the link could be served by cached data or stored somewhere in the database.

Would you please try the following and check if it helps to solve the issue?

- Take a backup of the site.
- Now, please go to the "WPML > Support > Troubleshooting" page
- Click on the buttons marked in this screenshot: hidden link [Scroll over the image to see more]
- Once done, open the default page in Elementor Editor and add the link again.
- Now, try to update the Translation again and check if you're still seeing the staging site URL in the Translation editor.

Let me know how it goes. If you need further assistance in this matter, feel free to let me know and I will be happy to help.

Best regards,
Prosenjit

November 20, 2023 at 7:02 pm #14880441

andreasL-56

Thank you, I tried all that you listed in the screenshot. The only one I didn't do was the last one (Clear invalid strings / String Troubleshooting). I get a bunch of results here. Is it safe to remove those?
But the problem is still there though after doing the other ones.

Screen Shot 2023-11-20 at 12.01.22 PM.png
November 21, 2023 at 7:14 am #14882197

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for patiently following all the instructions.

The "Clear invalid strings" option shows the unused strings or the strings that are linked to the wrong translation data. Before removing anything, it is recommended to check the string properly and then delete the one that you don't need.

Since the issue with the link persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

November 28, 2023 at 12:23 am #14935303

andreasL-56

Prosenjit, thanks for your help. I ended up having the folks on my hosting support help me resolve the issue. They fixed it with a search and replace in the database.