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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
Tagged: Bug
This topic contains 20 replies, has 3 voices.
Last updated by Andreas W. 1 year, 9 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
July 29, 2023 at 12:50 pm #14121331 | |
stirlingA-2 |
Hi I have a site stirlingaustin.com with English as a primary language. It is currently set to a domain per language and the Hebrew version has its own domain stirlingaustin.co.il. Both are working fine, but I want to add French. I have set up the French in wpml languages and a page, but I see from the documentation that it’s not possible to mix domains and subdirectories. Therefore, I tried creating a subdomain on my cpanel. (Fr.stirlingaustin.com) when I did this it will not validate. Can you tell me what I am missing? many thanks |
July 31, 2023 at 7:59 am #14124589 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, sometimes depending on the hosting and domain settings, the validate option is not able to validate the domain. You can safely uncheck the validate checkbox and save the settings, it should work fine. Please check the frontend and confirm this. Let us know how it goes. Regards, |
August 1, 2023 at 10:31 pm #14138049 | |
stirlingA-2 |
Hi I tried unchecking the box, but the french still defaults to the English homepage |
August 1, 2023 at 11:05 pm #14138101 | |
stirlingA-2 |
Also if I am in the israeli domain I can't see french in the menu, whereas it appears in the English/Hebrew thanks |
August 1, 2023 at 11:35 pm #14138115 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, The site URL (subdomain) and the language switch FR language option will only appear if a translation in FR exists. This means, in order to access hidden link the homepage needs to be translated to 100% and published in French. Did you already create translations for French? Best regards |
August 4, 2023 at 5:49 am #14152785 | |
stirlingA-2 |
Hi Andreas yes, I created the french home page, but when I select French on the language switcher it just goes to the main domain. thanks |
August 4, 2023 at 7:26 pm #14156683 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Indeed, I do see a 404 error here. I would like to offer to take a closer look and request temporary access (wp-admin and FTP) to the website to investigate the issue further. You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it. IMPORTANT I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further. However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose. If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging at https://wpml.org/de/account/websites/. If you are unable to provide such a copy of the site for testing, please let me know on this ticket. The private response form looks like this: Next time you reply, click "I still need assistance." Video: Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form. Best regards |
August 4, 2023 at 8:42 pm #14157179 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello Stirling, According to WPML the domain for FR can not be validated. See screenshot. This means, that this subdomain seems not to be pointing correctly to hidden link. Please revise the DNS settings for this domain in your hosting panel. You will need to set an A RECORD for this subdomain that points to hidden link. Make sure this domain is set properly and if in doubt consult your hosting support. If you will not be able to solve the issue together with the hosting support team, please let me know. Best regards |
August 5, 2023 at 6:27 pm #14159079 | |
stirlingA-2 |
Hi I created the A record, it's pointing correctly and it looks like the propagation is fine for the French subdomain, unfortunately, am still getting a 404 when I change to French. For the moment I have changed back to using sub-directories, but if you have a suggestion please let me know. To be honest, if it doesn't make a big difference to SEO I'll keep subdirectories. thanks Thanks. Stirling |
August 5, 2023 at 7:14 pm #14159167 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello Stirling, Yes, Google is fine with "Language in Directories" - only "Parameters as Languages" is not recommended by Google. Guides: hidden link About the 404 issue: I can offer to use the plugin "All in One WP Migration" on your site in order to take a copy and test it on localhost with a few test domains. Do you agree with that? Best regards |
August 5, 2023 at 7:31 pm #14159187 | |
stirlingA-2 |
Hi Andreas thanks, yes all in one migration pro is already installed, help much appreciated! |
August 5, 2023 at 8:58 pm #14159231 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello Stirling, I am about to set up the copy for testing, just one sidenote: In your site the WP MEMORY LIMIT was too low - I have adjusted it now - see screenshot. Then I wanted to test again and try to set up the domains without validation the FR domain. Now, according to WPML domains should get applied when using the language switcher, and I also resaved the permalinks, but the language switcher keeps redirecting me to language directories which still appear to work, even though this is not the current WPML settings. This is kind of unexpected - I actually had to edit the header template, edit the menu block and then save the template again for the changes to appear inside the menu. Anyhow, the 404 persists. I have set the site again to language in directories now and will continue testing on localhost. Best regards |
August 5, 2023 at 9:43 pm #14159285 | |
stirlingA-2 |
Thanks, Andreas, much appreciated-if you find there was something I missed in the setup do let me know. |
August 5, 2023 at 10:11 pm #14159295 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello Stirling, According to the copy of your website, this seems to be a bug in WPML, as the issue occurs if I run the site only with WPML on the default theme. The problem only occurs when using different domains per language and if the active language is set to be hidden from visitors of the site in WPML > Languages > Hide Language. I will try to recreate this issue on a new test site and let you know the results shortly. Best regards |
August 5, 2023 at 10:44 pm #14159305 | |
stirlingA-2 |
Thanks Andreas |
The topic ‘[Closed] domain/subdomain’ is closed to new replies.