ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
269 stars 96 forks source link

Meta title always contains site name #387

Closed therealpecus closed 2 years ago

therealpecus commented 2 years ago

Description

This has the same symptoms as #376 but the cause might be different. I am using the plugin per instructions, but it seems that once entries have been updated with the seo field, a change in the title token configuration is not propagated. The field is mapped to "update for every site".

I understand that this might be by design, since a change to a token might overwrite any personalization the user has made, but this effectively aborts the title field management and is not documented.

Steps to reproduce

  1. Install plugin
  2. Create seo field
  3. Add seo field to site sections
  4. Update template
  5. Display a page, note the title (it includes the site name)
  6. Change the {{ sitename }} token to anything else (say, | BLM). You can also remove it and add a new token. Save changes
  7. Display a page, note the title (it includes the site name, while instead it should show BLM)

Additional info

therealpecus commented 2 years ago

I figured it out, but the documentation might benefit of an improvement. Settings for the plugin do not propagate to SEO fields that have already been created. You have to edit the actual field.