wp-pwa / saturn-app-theme-worona

Saturn theme for worona apps
1 stars 0 forks source link

Canonical tags should be consistent #156

Closed Poliuk closed 6 years ago

Poliuk commented 7 years ago

Hacer que las etiquetas canonical coincidan en todas las páginas y versiones

En algunas URls no aparece la etiqueta canonical, y en otras aparece pero no apunta a la URL correcta

https://demo.worona.org/lower-antelope-canyon/

orballo commented 6 years ago

This is happening becauseyoast_wpseo_canonical field still exists: https://github.com/worona/wp-api-yoast-meta/blob/7eb020a80b6cbad7cd0038d2f7040d8b35d764ab/plugin.php#L154 If this line is removed, the getCanonical selector should take entity.link as a fallback and work fine.

Poliuk commented 6 years ago

Moved to https://github.com/wp-pwa/saturn-theme/issues/39