This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with translating pages on a WordPress multisite setup. They were redirected to a different subsite when attempting to work on translations. The client had already deactivated and reactivated the WPML plugins and re-registered the main site with a new key, but the issue persisted. It was later discovered that a hardcoded redirection was causing the problem.
Solution: We advised the client to review our documentation on Multilingual Support for WordPress Multisites. If the main site of the multisite installation is registered with WPML, all subsites are included in this registration. We provided links to our documentation:
We also mentioned that prepaid credits could be assigned to the main site and shared with all subsites and that Pay-as-you-go can be registered for each subsite separately.
If the solution provided is not relevant due to being outdated or not applicable to your case, we recommend opening 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.
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 am using WPML on a multisite with different directories: hidden link = site 1 hidden link = site 2 hidden link = site 3 hidden link = site 4 hidden link = site 5
The registered site in my WPML-account is hidden link
The original language is German, I need English translations for all subsites/directories.
I started translating with hidden link
and have the complete English version up and running at hidden link
I wanted to translate the other subsites/directories, but I can't work on translations. I started to translate pages on hidden link
but as soon as I want to work on the queued page (the starting page e.g.), I am redirected to hidden link = the start page on another subsite.
I have deactivated the WPML-plugin(s) (core plugins) and unregistered hidden link
After that, I re-activated the plugin and re-registered the site hidden link
with a new key. But the problem persists: working on rapa/com redirects to rapa/com/automotive
Maybe this is a problem with the missing directory on rapa/com? I tried to register hidden link
and succeeded. But though I transfered credits to that domain (and it shows in my WPML-account as the second registered domain), I can't work on translations as I am asked to transfer credits first all the time (12504 credits are registered to /industry/).
I have no idea what to do to get translations work on the subsites aside form hidden link
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Do I understand correctly, that you are trying to connect the contents between different subsites of your Multi-Site network?
If so, take note that this is not possible. WPML will have an independent install on each subsite and you can not create translations or internal links from one subsite to another one.
no, I want to translate separately in each subdomain and would like to register each subdomain wqith a unique code. The thing is I registered hidden link
first, but started translating with hidden link
which worked, but now I am having trouble to translate hidden link
I unregistered and de-activated everything and re-registered, but maybe it's in the database somewhere that when I reactivate and re-register the plugin, everything is like before and hidden link
seems connected to hidden link
and I can't work at the latter subdomain.
If hidden link is the main site of your multisite installation, then you only need to register for WPMl. All the subsites will be included in this main site registration. Please read about it here.
You can assign prepaid credits to the main site, and they will be shared with all the subsites. You can register for Pay-as-you-go on each subsite.
You have not shared the debug information of your site. If WPML and its add-ons are not updated on your site, please update them to their latest versions.
**** Important! Please make a full site backup (files and DB) before you proceed with those steps****
Please share your site's Debug information with us. You can read about it here.
I took the following steps:
1. I unregistered all subsites once more in my WPML-account as well as on the site(s).
2. I registered the main site hidden link with a new key, without activating WPML on the other sites
3. I translated the start page at hidden link
4. When I'm on the front-end of hidden link
and put the cursor over the language switch (top right of the site), the link is hidden link
but as soon as I click on the link, the site jumps to hidden link
5. When I deactivate WPML on hidden link
the link on hidden link
still jumps to /automotive/en/ this time on a 404-page as the plugin is inactive.
I am willing to delete all the previous translations (and lose the credits I used), unregister and de-install the plugin and make a clean new installation, if this is the only way out. But everything seems to work fine except that mysterious "loop" that leads from one subsite to the first subsite I worked on translations (/automotive/). What irritates me is that I have the startpage translated: hidden link
is the English translation of the German page, the translation was checked and approved by me. The cursor shows the link to that page when over the language switch, but as soon as I püress the switch, I end up at hidden link
STOP! Problem solved… on this website project several people lay hands on different elements without knowing fully how their actions influence the actions or results of others.
There is a hardcoded redirection for hidden link
leading to hidden link
simply to provide the first translations for international visitors without keeping in mind that this prevents to correctly display the desired website.
I am sorry about the mess this has caused.
Thank you for your patience and your support
Petra
Thanks for updating me on this.
I'm glad that the problem is solved now.
I'm closing this ticket.
Don't hesitate to contact us again with any WPML issues or questions.
Take care,
Itamar.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.