This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML + The Events Tickets
Started by: antoniaD in: Soporte en español |
|
0 | 2 | 4 days, 9 hours ago | |
url de la home traducida en el sitemap
Started by: antoniaD
in: Soporte en español
Problem: Aparece el slug de la página de inicio del idioma secundario en el sitemap Solution: Nuestros especialistas han podido reproducir el problema en una nueva instalación de WordPress y la causa de este comportamiento es que la página de inicio ha sido creada en un idioma secundario (en vez del idioma por defecto). Para resolver este problema debe seguir los siguientes pasos: $this->secondaryHomesById = Maybe::fromNullable( get_option( 'page_on_front' ) ) ->map( PostTranslations::get() ) ->map( Fns::reject( Obj::prop( 'original' ) ) ) ->map( Fns::map( $getIdAndUrl ) ) ->map( Lst::fromPairs() ) ->getOrElse( [] ); por este: $this->secondaryHomesById = Maybe::fromNullable( get_option( 'page_on_front' ) ) ->map( PostTranslations::get() ) ->map( Fns::reject( \WPML\FP\Relation::propEq('language_code', apply_filters('wpml_default_language', 'en')) ) ) ->map( Fns::map( $getIdAndUrl ) ) ->map( Lst::fromPairs() ) ->getOrElse( [] ); - Luego ve a Math SEO -> Sitemap Settings -> Pages -> Desactiva "Include in Sitemap" -> Guarda los cambios -> Vuelve a activar la opción y guardar los cambios Relevant Documentation: https://wpml.org/errata/rank-math-seo-incorrect-url-in-sitemap-for-translated-front-page/ |
|
2 | 14 | 1 year, 11 months ago | |
Woocommerce Checkout Manager
Started by: antoniaD in: Soporte en español |
|
3 | 14 | 4 years, 8 months ago |