Custom Page Titles in Scroll Viewport?
Hello! Is it possible to customize the HTML page titles in a Scroll Viewport site?
My specific request is it seems the default page titles are just the page title from Confluence. But I think for SEO it would also be good to get our company name in there.
For example, if I have a page called “How To Guides” I would want the page title in the rendered site to be something like “How To Guides | Acme Enterprises” or something like that so that public Google searches include our company name.
But I don’t want to manually add that to every page title because I don’t want to pollute the page tree, etc. with our company name over and over.
Is this possible? Thanks!
Thanks for sharing your request with us! Unfortunately, specifying the HTML <title> for your Viewport articles is currently not possible. Search engines will simply pick up and show what you have specified as your Confluence page title.
Having said that, we do see the value in allowing to optimize the title for SEO purposes. While there are no immediate plans, could you let me know if specifying a general title pattern for all pages of your Viewport site (e.g. to all page titles "| Acme Enterprises" is added), would be enough for your requirements?
Feel free to share any other details!
Yes, something like this would meet my requirements. You could add options for text to put either before or after the title, perhaps with an enable slider for each and then the text itself, and then your engine just concats everything together. But worst-case if it was just something after, that would work.
Ideally the company name would NOT show up in the page titles for the site search, since seeing the name again and again would be annoying, clearly the user knows what site they're on. :) But I recognize that would be a stretch goal.
For public-facing pages this is critical for us. All of our product names are generic, so we really need to get our company name into the titles.
Thanks Brian for clarifying those details. That's very helpful for us.
Given that the option isn't available today, I hope you're not too inconvenienced. You might want to have a look at other options you have with Viewport regarding SEO. We have collected some general information on How Is My Site Indexed and Ranked by Search Engines?
Also, it might be helpful to know that you can define meta descriptions for articles. By default, Viewport uses the first 150 characters of your Confluence page. However, you can also optimize descriptions with the excerpt macro. Add the macro to your pages and set it to ‘hidden’ if you don’t want the content to be part of the article itself. The description limit is 165 characters and could include your company name.
If there's anything else we can help you with at this point, feel free to post more questions or reach out anytime on email@example.com
Hopefully this feature comes in time, but in the meantime the metadata suggestion is great. So far I am really enjoying K15t’s offerings. In the old days, I feel like I spent more time tweaking sphinx-doc configs and ReadTheDocs builds and CI/CD than I did actually writing documentation! Now I just write, which is awesome.
Hi K15t Team,
first of all, thank you for your work. The plugin is great.
Just want to add one more use-case, that page title is also the default title of a browser bookmark. Its a pitfall when user adds a bookmark and it says just "Getting started" or "Overview". Maybe it is another motivation why to prioritize this.
The solution for me is the same. Add suffix or prefix. E.g. "Getting started | CleverMaps Documentation" or "CleverMaps Docs - Overview".
Have a nice day,
Please sign in to leave a comment.