• I manage a lot of wordpress sites for a lot of different people. And sometimes I have a lot of different sites open in different tabs in my browser. When the tabs become numerous they show fewer and fewer letters of the page title, and the first thing to disappear is the name of the site.
    Right now, the admin side, the meta title will print out like this; dashboard < blog name — wordpress

    I would love to make the blog name come first, before the name of the page. That way I’d have a clue as to which of my thousand tabs to go to.

    Rdited to ask–can I do this with .htaccess file?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    .htaccess cannot affect page content, not even meta tags.

    To change the back end title, just hook the ‘admin_title’ filter and output any title you like. The admin and non-admin titles are passed to your callback if you want to use any of that for title content.

    The code for this sort of thing is is best placed on your common cross site plugin that contains all of your handy customizations and useful functions for all of your sites. If you don’t have one, perhaps it’s time to start ??

    Thread Starter probablepossible

    (@probablepossible)

    You are right! Good advice ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how can I switch the page title around?’ is closed to new replies.