How can I change the site title in header?

Hi

My current page titles (shown on search engine listings) are in the format
{site-title} | {site description} - for home page
{page-title} | {site-title} - for all other pages

I would prefer to change it to

{site-description} | {site-title} - for home page
{page-title} | {site-description} - for all other pages

Is there a way to do this?

An obvious solution is to flip the site title/description in settings, but then it replaces the visible site title in the header on every page with the description - which I want to keep the same.

So I need to either change the visible title in the header (so I can flip title/description in settings), or find a way to modify the outputted page titles.

Hi there,

The quicker option would be to install the Yoast SEO plugin. Using this plugin, you should be able to set the General format of the page titles globally or you can set an individual page title for each pages or posts.

Hope this helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.