Saltar navegación

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Zona horaria del aficionado: Asia/Dhaka (GMT+06:00)

Este tema contiene 19 respuestas, tiene 2 voces.

Última actualización por Prosenjit Barman hace 9 meses.

Asistido por: Prosenjit Barman.

Autor Entradas
mayo 20, 2024 en 4:22 pm #15646926

Oscar

Dinos qué intentas hacer.
Quiero usar dominios personalizados para cada idioma, actualmente la web es enlace oculto me gustaría usar arttros.es para castellano, el .com para inglés y después tengo otros dos dominios para idiomas nuevos.
Me gustaría saber si tienen alguna guía de buenas prácticas para realizar este cambio, con pasos a seguir para no perder contenidos en la web ni posicionamiento en google

¿Hay alguna documentación que estés siguiendo?

¿Hay algún ejemplo similar que podamos ver?

¿Cuál es el enlace a tu sitio?
enlace oculto

mayo 21, 2024 en 6:57 am #15648109

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or want to continue the conversation in Spanish language. I will check and forward this ticket to one of our Spanish supporters to assist you in Spanish language.

I understand what you're looking for. The WPML plugin has the feature to configure a different domain per language. Please check the guiode below to understand the process.

- https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

If you're currently using directories or parameters for different languages and have already translated content, you can still configure each language to use a different domain. The content will appear correctly under their respective languages.

If you are using an SEO plugin like Yoast or Rankmath, WPML can generate separate sitemaps for each language. After configuring the different domain structure, make sure to submit a new sitemap for each domain so that the Search Engine can rank the pages per language correctly.

I hope the information above helps. Please feel free to let me know if there is anything else if you need help with. I will be happy to assist.

Best regards,
Prosenjit

mayo 21, 2024 en 7:45 am #15648354

Oscar

Thank you very much, I will check the documentation and if I have any problems I will contact you.

mayo 21, 2024 en 7:56 am #15648376

Oscar

Hi, after reviewing the documentation and how I have configured the site I have some doubts.

So far the main domain is .com and the default language is Spanish, the ideal is to leave the Spanish in the .es and the English in the .com but I can't. Should I change the default language to English to be able to put the Spanish in the .es?

Should I change the default language to English to be able to put the Spanish in the .es? I prefer to leave the default language as Spanish, what is the best way to do it?

mayo 22, 2024 en 5:26 am #15653255

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

I understand your concern.

If WordPress is installed on the .com domain, which you want to use for the English language, then you need to set English as the default language and configure Spanish as the secondary language.

For using different domains for each language, if you want Spanish as the default language, WordPress needs to be installed on the Spanish domain (.es), and then you can configure English as the secondary language.

Currently, if you set Spanish as the default language, the .com domain will load the Spanish content.

To make Spanish the default language, you should disconnect the Spanish domain and update the DNS configuration. Then, install WordPress on the Spanish domain and migrate the content there. Once this is done, configure WPML, and set Spanish as the main language and English as the secondary language. After that, configure the English domain.

I hope you can understand. Feel free to let me know if you have any other queries or need clarification. I will be happy to help.

Best regards,
Prosenjit

mayo 22, 2024 en 2:48 pm #15658976

Oscar

Entendido, de momento voy a poner el idioma principal el ingles y como secundario el español. ¿Hay alguna manera para que cuando entres desde España salga automáticamente el .es? ¿cómo se gestionan las opciones de acceso a cada idioma?

mayo 25, 2024 en 4:14 am #15669613

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
I hope you're doing well. Sorry for the delay in responding.

WPML includes a feature that automatically redirects users to a language based on their browser settings. For instance, if your browser is set to Spanish, you'll be redirected to the Spanish version of the site when you visit. For more details, please refer to the guide below.

- https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/

However, if you want to redirect users based on their Geolocation, that is not possible at the moment as WPML doesn't have such features. You can use a third-party plugin like "WPML Redirect Based on IP Country" to redirect users to a specific language based on their location.

I hope it will help. Please feel free to let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

mayo 27, 2024 en 7:39 am #15672342

Oscar

Thanks!

mayo 28, 2024 en 11:02 am #15677890

Oscar

Hola, he realizado los siguientes cambios, poner inglés como idioma principal, posteriormente he añadido el dominio .es como dominio para el español. Por lo que quedaba el inglés como idioma predefinido en el enlace oculto y el español en el arttros.es.
No se si el echo de que el .es no lleve el subdominio www. influye en algo, pero mi intención era quitarlo en un futuro, en el primer intento he quitado en el panel de wordpress el www. del dominio .com y la web ha dejado de funcionar, estaba todo el rato con redirecciones.
Después de dejar todo configurado intentaba cambiar de idioma al español pero no funcionaba, entiendo que debería hacerlo de forma automática, todavía no había configurado la redirección automática porque ya me parecía demasiado.
El alojamiento que uso es siteground y los dominios los tengo aparcados, por lo que las DNS apuntan al servidor
Como tema estoy utilizando PRO the theme.com
Entiendo que todas estas configuraciones no se pueden hacer en un staging porque lo veo muy problemático para hacerlo en vivo

mayo 29, 2024 en 6:42 am #15681751

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

As far as I understand, the Spanish domain is not working properly after removing www from the domain. Removing the www. prefix can sometimes cause issues due to incorrect redirections. In your SiteGround control panel, please make sure that the domain redirects are properly configured to handle both www and non-www versions of your site.

Once everything is ensured, please review the guide for configuring different domains per language again and ensure that the Spanish domain is set up correctly. If everything is configured properly, accessing the Spanish domain should display the site in the default language. If you see anything other than the default site, it indicates that the Spanish domain is not configured correctly, or the root of the domain is not set properly.

If the Spanish domain is showing the default site, proceed to configure the different domains per language. In the domain section, enter the domain without "www" and ensure that the 'Validate on save' option (Screenshot: enlace oculto) is enabled. This will allow WPML to verify if the domain is configured correctly.

By ensuring the settings are applied correctly, you will be able to make the different domains per language work efficiently. Regarding the domain issue, since WPML does not handle domain settings, it would be best to contact your domain or hosting provider. Ask them to recheck the settings or, if possible, configure them according to the instructions mentioned in our documentation.

I hope the information above will help. If you need further assistance, kindly share your issue or query in English. This will ensure I fully understand every detail and do not miss any important points from your query.

Best regards,
Prosenjit

mayo 29, 2024 en 8:16 am #15682051

Oscar

Summarising what I had put in the previous message. What I did is to change the default language from Spanish to English, to be able to use English in the .com and Spanish in the .es. but leaving enlace oculto and arttros.es (without www). The English one looked perfect but the Spanish one doesn't work, that is to say when I click on the flag it didn't even mention to change. All the DNS of the domains point to the same hosting and I have wildcard activated. And I think I set everything up correctly. I've been talking to the hosting but we can't find the problem. Can I work from a staging to configure everything or does the site have to be published?

mayo 30, 2024 en 5:37 am #15685821

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the clarification.

It’s possible to work from a staging environment to configure everything correctly before going live. However, I tried to access the Spanish domain, but it keeps redirecting to the English domain. As I mentioned, if everything is configured properly, the Spanish domain should load without any redirection and display the default content. However, this is not happening in this case.

Could you please check if there are any redirections set for the domain in your hosting or domain control panel?

Additionally, it appears that Spanish is currently set as the default language for the site. Before configuring the different domains per language structure, please change the site's default language to English.

In summary:

- Check for Redirections: Ensure there are no redirections set for the Spanish domain. When accessing the Spanish domain, the default site should load without any redirection.
- Change Default Language: Before configuring the different domain per language structure, change the site's default language to English.

Please let me know how it goes. If you need further assistance, I'll be happy to take a closer look and assist accordingly.

Best regards,
Prosenjit

mayo 30, 2024 en 7:16 am #15686129

Oscar

Hi, the .es domain is parked inside the .com domain, I have left everything as it was originally because it was not working properly and I can't leave the website not working, that's why I was asking if it can be configured from a staging.

Is there any way to send you private screenshots? I have checked the configuration of the domains and as far as I can see they both point to the same hosting, I understand that displaying the Spanish or English is done internally by WPML.

mayo 30, 2024 en 11:05 am #15687453

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi,
Thank you for the clarification.

It would be helpful if you could share some screenshots of the domain configurations you’ve made, along with access to your site so that I can check the settings directly.

I have enabled the private box for you to securely share this information. When you log in to leave your next reply, you will find the necessary fields below the comment area. The information you enter will be private, meaning only you and I will have access to it.

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:
enlace oculto

Looking forward to your response.

Best Regards,
Prosenjit

mayo 31, 2024 en 4:31 am #15690493

Prosenjit Barman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for sharing the screenshots and access information.

On your staging site, I noticed that you're trying to add "es.staging6.arttros.com" for the Spanish language. Please check and ensure that:

- The subdomain es.staging6.arttros.com is available and accessible. When I tried to access it, a DNS_PROBE_FINISHED_NXDOMAIN error occurred.
- The root of this subdomain is pointed to the same root as enlace oculto in your Hosting.

Please note that if you have added the subdomain recently, the DNS propagation may take some time.

Let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

El tema '[Cerrado] Usar dominios para los idiomas' está cerrado a nuevas respuestas.