This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is moving their website to a new WordPress installation and encountering issues with duplicate destination URLs, such as -2, -3, etc. The developer suspects this is due to WPML not being registered on the development site.
Solution:
We recommend registering the development site with a new WPML site key and ensuring WPML is updated to the latest version. Here are the steps to follow:
1. Go to
Plugins>>Add New>>Commercial
tab on your development site. 2. Click on "Unregister WPML from this site". 3. Refresh the page. 4. Click on "Get a key for this site" and follow the instructions to generate a new key. 5. Copy the newly generated code. 6. Return to
Plugins>>Add New>>Commercial
tab. 7. Register the site with the new key. 8. After registration, resave the permalinks via
Settings>>Permalinks
to check if the issue with duplicate URLs persists.
Additionally, ensure that the Advanced Translation Editor is migrated correctly if you are using it. For more details, refer to this documentation.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through the WPML support forum.
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.
Background of the issue:
We are moving from hidden link to a new WordPress install and using hidden link as the dev site. We are having issues moving the destinations.
Symptoms:
There are many duplicates with a number in the URL, such as -2, -3, etc. The developer thinks it is because WPML is not registered on the dev site.
Questions:
Can you advise on how to resolve the issue with duplicate URLs?
Will activating the WPML license fix the issue with the duplicated slugs?
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
As a Multilingual Agency plan subscriber, you can register N number of production or development sites. Refer to this page for more details - https://wpml.org/purchase/ (in Websites row)
So please create a new site key for hidden link and then upgrade to the latest version of WPML (4.7.1 series) after a full site backup {mandatory}. You can try the following steps for it.
- Go to Plugins>>Add New>>Commercial tab of hidden link
- Click on "Unregister WPML from this site"
- Refresh the page
- Click on "Get a key for this site" - hidden link
- Copy the newly generated code
- Visit back to Plugins>>Add New>>Commercial tab
- Register the site with the new key
After that, resave the permalinks from Settings>>Permalinks and make sure the bug exists or not.
Please note, I am not able to access the sitemap - hidden link
okay we ran the move process again so the site is back,,, but it is still doing very strange things example it is not including the lang in the URL
hidden link hidden link hidden link hidden link hidden link hidden link
I have set the url so it should use directories
Language URL format
Choose how to determine which language visitors see contents in
Different languages in directories ( (hidden link - English, hidden link - Chinese (Simplified)) )
Use directory for default language
see site map for all issues
hidden link
New threads created by Bigul and linked to this one are listed below:
Please note that I have opened a new ticket for the *language URL* issue. As per our support policies, we can address only one problem per ticket. This approach allows us to assist you more efficiently and keeps discussions focused. I will respond to the new ticket shortly. I appreciate your understanding.
Hi okay making good progress.. but found another issue can u help please
okay so I am making a slight change to the English page adding a h1 tag and an icon... but I wish these changes to be reflected in the translated pages, but the system seems to be trying and charge me again for a full translation please see attached...
New h1 tag and icon added to this page
hidden link
see attachments for new section
existing pages already translated, but trying to charge full transaction when I run refresh
hidden link
New threads created by Bigul and linked to this one are listed below: