ethercreative / seo

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

Saving a title token as blank #445

Open russell-kitchen opened 1 year ago

russell-kitchen commented 1 year ago

Description

A client wishes to not have '- SiteName' on certain pages only. It seems this isn't natively possible, so the solution was to add a space in the secondary token and save, which works. However, due to Craft's autosave/backup functionality, a second after adding the space it reverts to the default '- Sitename' string. You have to be faster on the save than Craft is on the backup in order to get this to work.

Steps to reproduce

  1. Replace '- Sitename' token with a space on an entry edit page
  2. Wait a second for Craft to backup the changes
  3. See that the default token has reappeared

Additional info