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 |
---|---|---|---|---|---|---|
- | 12:00 – 14:00 | 12:00 – 14:00 | 12:00 – 14:00 | 12:00 – 14:00 | 12:00 – 14:00 | - |
- | 17:00 – 21:00 | 17:00 – 21:00 | 17:00 – 21:00 | 17:00 – 21:00 | 17:00 – 21:00 | - |
Supporter timezone: Europe/Vienna (GMT+02:00)
Tagged: Custom Work
This topic contains 14 replies, has 1 voice.
Last updated by Bigul 4 days, 14 hours ago.
Assisted by: Bigul.
Author | Posts |
---|---|
March 29, 2025 at 12:23 pm #16875259 | |
vladimirM-19 |
Background of the issue: 1 I want to update and change the homepage for each language under the /stay/ path. 2. I want the /stay/ setup to also be: Like the setup I have on my initial visitpula.hr Symptoms: Questions: |
March 31, 2025 at 9:12 am #16878188 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thanks for contacting us. While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly. You can setup your default language homepage to be Stay page, from WordPress Settings, as you would normally do. Then your homepage will be visitpula.hr, that is how WordPress works, you can not have it visitpula.hr/stay/ even if you do not have WPML. Then you should translate your homepage (stay) to other languages, and it will show your translated homepage for other languages for example visitpula.hr/hr/ - croatian etc. From WPML > Languages, make sure to set Language URL > Language per directory. Regards, |
April 1, 2025 at 7:13 am #16881574 | |
vladimirM-19 |
Hi Dražen, I know, but this depends on my issue 2... 🙂 2. I want the /stay/ setup to be: I am trying to set it up in WPML but I am getting an error. |
April 1, 2025 at 8:05 am #16881729 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. It sounds like a custom requirement. Therefore, to ensure, visitpula.hr/stay/ is your English homepage, and the following links will be its translations in secondary languages. Am I correct? Please confirm. visitpula.hr/hr/ - Croatian To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/ -- Bigul |
April 1, 2025 at 10:36 am #16882402 | |
vladimirM-19 |
Exactly, I would like for /stay/ to be on NOTE I do have one more WordPress setup on and there I have WPML setup towards |
April 1, 2025 at 5:00 pm #16884062 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. I have a few more questions. Becuase it will be possible only by custom work. Please confirm the following 1) hidden link is your current site; the default language is English, and the secondary languages are the following visitpula.hr/hr/ - Croatian 2) hidden link is your new WordPress Installation; WPML is not installed there 3) All the secondary language pages other than the Homepage will be redirected to the English original. For example, hidden link will be redirected to hidden link if the user chooses English -- Bigul |
April 1, 2025 at 6:09 pm #16884258 | |
vladimirM-19 |
Hi Bigul, 1) hidden link is your current site; the default language is English, and the secondary languages are the following visitpula.hr/hr/ - Croatian YES, Exactly 2) hidden link is your new WordPress Installation; WPML is not installed there YES a new installation, WPML is installed, a second setup 3) All the secondary language pages other than the Homepage will be redirected to the English original. For example, hidden link will be redirected to hidden link if the user chooses English I am ok with everything on the hidden link I would like to /stay/ to also be on I will not have the duplicate URLs, so there should not be conflicts there. The only potential conflict could be the homepages of /stay/ installation Please let me know if its clear now |
April 2, 2025 at 11:04 am #16886546 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the details. I have one more question. For example, now on the hidden link and the Menu Items like *Events*, *Plan your stay* etc.. is pointing to hidden link pages like the following. hidden link hidden link Therefore, how you will be managing the following. Please share your thoughts. I would like to /stay/ to also be on visitpula.hr/hr/ - Croatian visitpula.hr/de/ - German visitpula.hr/it/ - Italian -- Bigul |
April 2, 2025 at 6:14 pm #16888467 | |
vladimirM-19 |
Those pages stay on visitpula.hr, the /stay/ pages will mostly be rental properties, so the URLs will not duplicate |
April 3, 2025 at 10:17 am #16891201 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. I am consulting with our team for an expert opinion now. We hope you are using the same database for both WordPress installations (hidden link and hidden link). -- Bigul |
April 3, 2025 at 11:09 am #16891530 | |
vladimirM-19 |
Bigul, It is separate databases Regards, Vladimir |
April 4, 2025 at 5:54 pm #16898680 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hi Vladimir, Thank you for the updates. We have discussed this with our development team, and it appears that the solution would require custom coding, which falls outside the scope of our support. Currently, there is no built-in feature to support this functionality, especially since the requirement involves a connection between two separate WordPress installations. One possible approach could be using custom redirects from /en to /stay or implementing a custom language switcher. Another option could be avoiding the use of /en entirely and consistently redirecting to /stay, but in that case, care must be taken to ensure nothing gets indexed or added to the sitemap. That said, it will be achievable with the help of a WordPress Developer or contractor. Thank you for your kind understanding. -- Bigul |
April 4, 2025 at 7:16 pm #16898833 | |
vladimirM-19 |
Hi Bigul, Why cant I just set each language under domains? Regards, Vladimir |
April 4, 2025 at 7:19 pm #16898851 | |
vladimirM-19 |
Or this option? But please review the previous comment as well |
April 5, 2025 at 3:34 am #16899229 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hi Vladimir, Thank you for the updates. While using the *A different domain per language* option of the Language URL format, we have to specify the exact domain as primary and secondary language domains. Therefore, it will only work like the following. hidden link or hidden link or hidden link for English hidden link - Croatian Please refer to this article for more details: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/#a-different-domain-per-language So we can't configure domain per language settings in hidden link WordPress installation. Thank you for your kind understanding. -- Bigul |