You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered the problem that in example Yoast SEO plugin overwrites page title via hook, so writing {{ wp_title }} - {{ site.name }} or just {{ site.name }} can be problematic, as you cannot predict what settings does user have and if it does not duplicate the site name in example.
And I believe the plugin is even printing site title and site description via wp_head action, so not only the content is duplicated, but the whole <title> occurs two times.
Maybe we should somehow warn developers of that behaviour?
The text was updated successfully, but these errors were encountered:
Ok, in default installation Yoast SEO only adds site.name to the title but doesn't duplicate title element because Force rewrite titles is disabled by default
I've encountered the problem that in example Yoast SEO plugin overwrites page title via hook, so writing
{{ wp_title }} - {{ site.name }}
or just{{ site.name }}
can be problematic, as you cannot predict what settings does user have and if it does not duplicate the site name in example.And I believe the plugin is even printing site title and site description via wp_head action, so not only the content is duplicated, but the whole <title> occurs two times.
Maybe we should somehow warn developers of that behaviour?
The text was updated successfully, but these errors were encountered: