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

Even smarter Smart Titles? Maybe a title format override checkbox? #21

Open
rickross opened this issue Jul 27, 2015 · 3 comments
Open

Comments

@rickross
Copy link

Hi Nico,

Would it be easy to add a check in the title generation to NOT add the sitename to the title redundantly?

My title format string is "{title} - {sitename}", and my sitename is "AnswerHub". It would be super cool if there was a way to add no-repeat into the format, so it would only add the sitename if it wasn't already in the title string.

Another option might just be to let the page have a title format override checkbox to skip the title format and just use the entered string exactly. Since lots of people won't necessarily be using the same title format string, this would be a more reliable and simple way to give absolute certainty.

Best,
Rick

@nicoknoll
Copy link
Owner

Well if you leave the field empty there will be no automatically title insertion as explained here: https://processwire.com/talk/topic/8007-markupseo-the-all-in-one-seo-solution-for-processwire/?p=95996

@rickross
Copy link
Author

rickross commented Aug 2, 2015

I had read that, but that requires exceptional handling for specific page ids in the actual page code. In general, it's fantastic to have the ability to use the smart title format string, but on occasional pages it is not desirable. For example, on my site we normally append " - AnswerHub" after the title, which works 98% of the time.

On some pages, however, we'd like to optimize the title in a way which doesn't have that string appended, and it would be best if we could just check a checkbox next to the title to "Override Smart Title" or something like that, so the title string entered in the SEO tab is used exactly as it is shown.

If you have a few of these pages, it is better IMO to have a boolean field to govern whether to use the smart title than to code special exceptions into templates.

@nicoknoll
Copy link
Owner

Ah okay I see now what you mean.

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

No branches or pull requests

2 participants