SEO setting does not save page title tokens.
Opened this issue · 3 comments
Description
There is only 1 token added and yet 2 tokens were rendered - title and site name.
Further testing added 4 tokens and yet 2 tokens were rendered.
Steps to reproduce
- Go to SEO settings
- Under page meta >page title update (add or remove) the tokens.
- Check the SEO rendered.
Additional info
- Craft version: Pro 4.8.4
- SEO version: 4.2.2
- PHP version: 8.0.2
- Database driver & version:
- Other Plugins:
@krisMoca The field settings in your screenshot are used as the defaults for any SEO fields you create. It's likely that you'll want to edit the SEO field itself rather than the default settings.
for me, it only renders the site title, always
even though it is showing it correct in the preview in the backend
running on craft 5 with the rc
ah, I changed the handle of the seo field, because I want two different title formats
is there a way to do this?
<title>{{entry.uri == 'home' ? currentSite.name : (customTitle is defined ? customTitle : entry.title) ~ ' | IWML'}}</title>
is what I tried, but that wasn't working
basically, on home I want {{sitename}}
and on the other ones {{pagetitle | statictext}}