Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

og:site_name redefine question. #495

Open
Golembivskyi opened this issue Feb 9, 2025 · 1 comment
Open

og:site_name redefine question. #495

Golembivskyi opened this issue Feb 9, 2025 · 1 comment

Comments

@Golembivskyi
Copy link

I have multilingual website. In Settings -> Sites I created an english version with name "English" and ukrainian with name "Ukrainian". Such names are the most usful for breadcrumbs in admin panel. It's easy to understand which language I use right now and what languate I'm going to swich when adding the content.

But SEO plugin adds this line to html page . It is the problem, as some social netwoks displays wrong website name. I tried to redefine this parameter, but all the advices ChatGPT provided didn't help. I want set a site name that I'll define. Is there a way I can do it?

@alexjcollins
Copy link
Member

Hi @Golembivskyi, if i understand correctly, this should be a simple fix for you.

The SEO plugin automatically uses the site name when populating the page title and related social titles. To edit that behaviour, you can go to the SEO setting page and edit the Page Title field. You will probably want to remove the — {{ siteName }} value and replace it with — {{ systemName }} (example); that way, it'll pull whatever you have called the site in Settings > General.

Of course, if you have an SEO field set up, you would want to make the change there, too.

Alternatively, if you don't want it to match the system name, you can always manually type some text into the toke or remove it altogether!

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants