seo icon indicating copy to clipboard operation
seo copied to clipboard

Saving a title token as blank

Open russell-kitchen opened this issue 1 year ago • 0 comments

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

  • Craft version: 3.7.67
  • SEO version: 3.7.4
  • PHP version: 7.4
  • Database driver & version:
  • Other Plugins: "craftcms/feed-me": "4.5.4", "craftcms/redactor": "2.10.11", "ether/tags": "1.0.9", "nystudio107/craft-emptycoalesce": "1.0.6", "nystudio107/craft-fastcgicachebust": "1.0.11", "nystudio107/craft-twigpack": "1.2.17", "sebastianlenz/linkfield": "1.0.25", "spicyweb/craft-neo": "2.13.16", "topshelfcraft/wordsmith": "3.3.2", "verbb/cloner": "^1.2", "verbb/navigation": "1.4.31", "verbb/super-table": "2.7.4", "vlucas/phpdotenv": "^3.4.0"

russell-kitchen avatar Mar 03 '23 09:03 russell-kitchen