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 soporte: Asia/Dhaka (GMT+06:00)

Este tema contiene 1 respuesta, tiene 2 voces.

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

Asistido por: Prosenjit Barman.

Autor Publicaciones
septiembre 18, 2024 a las 7:02 pm #16195178

maiteE

Antecedentes del problema:
Tengo un segundo idioma en la web, de momento publicado, pero sin que aparezca en los menús. Quiero que no se indexe nada publicado en este segundo idioma /es. enlace oculto

Síntomas:
No quiero que el segundo idioma se indexe.

Preguntas:
¿Cómo puedo hacer que el segundo idioma no se indexe?

septiembre 19, 2024 a las 5:49 am #16195965

Prosenjit Barman
Partidario de WPML desde 03/2023

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 if you want to continue the conversation in Spanish language. I will check and forward this ticket to one of our Spanish-speaking supporters to assist you in the Spanish language.

I understand that you don't want to index the secondary language on your site. If you're using an SEO plugin like Yoast SEO or RankMath, there is an option to make a page non-indexable. Simply open the translated page in the WordPress editor and use that option to set it as non-indexable. You can refer to the links below for detailed instructions:

- Yoast No-Index: enlace oculto
- RankMath No-Index: enlace oculto

In this way, you can set individual pages as non-indexable.

However, if you want to prevent an entire language from being indexed, you need to take a bit of custom coding approach. Please refer to the response in the ticket below for guidance on how to set everything in a particular language as non-indexable.

- https://wpml.org/forums/topic/noindex-specific-language-without-hiding-it/#post-15560344

(In your case, since you don't want to index anything in the Spanish language, the value for `$current_language` should be set to "es-ES")

Please let me know if the information above helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

El tema “[Cerrado] No indexar segundo idioma” está cerrado a nuevas respuestas.