Support » Fixing WordPress » Changing title on browser tab

  • Hi everyone,
    I have just been assigned to help with the website at my job, and I know very little to nothing about WordPress, but I am managing. I have run into my first problem, though.

    I am looking for a way to change the title that shows up on the browser tab on our website. I have searched and searched all over this forum and cannot find an answer that works for me. Then again, I might be doing it wrong. Any help with this would be greatly appreciated.

    If I need to paste some kind of code on here or anything, please let me know. Thank you very much.

Viewing 15 replies - 1 through 15 (of 26 total)
  • Barring theme particularities, the browser tab usually shows the title of the site, the title of the page you’re on, or variations that include both.

    If it’s just the site title you want to change, that’s no problem, you can do that in Settings > General. If you want the browser tab to display something else, however, it’s usually in the theme template files and that will depend on the theme.

    Could you give us the url to check it out? What do you want to change it TO?

    <title>Your Website title</title>

    at the top of any of your files in the <head></head> will assign a title to that specific page


    Place this inside your header.php file to display this title on all your pages that call header.php
    <title>This is my website title!</title>

    This will change the title that is displayed in the Tab at the top of your browser

    Aside to Evan’s comments: What theme are you using? (if you give us the site url, we will be able to tell) If it’s a theme from an external source ( theme repository, or a commercial provider) that may need updates in the future, you should not edit the theme files directly. Instead, it’s safer to create a child theme so that future updates don’t overwrite the changes you’ve made.

    sure, here is the url:

    Your site title is set to ‘Dogs and Cats’. So I am assuming you were able to resolve this?

    No, haha. I want to change it from that to something else

    Did you try and add


    to your header.php file? (right after the opening head tag (<head>))

    I went picking through your files in my browsers inspector and can see inside of header.php there is already a <title> declared. Check the attached image for reference and change what is inside of the two tags.

    Reference Image

    Along with whatever else, be sure to take a look at Dashboard > Settings > Permalinks …

    That will affect how Bookmarks/Favorites appear for pages other than Home.

    Sorry, guys. I’m getting an error and can’t view the site.

    You don’t have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    That is strange Lettergrade, I’m still able to load the site with no errors/issues – but the title hasn’t changed as of yet

    Hi guys, been a little while. I still cannot figure out how to change the title on the browser tab. Should I just post the code for the title page? Thanks for all the help so far. This is just becoming a little chip on my shoulder haha.

    What have you tried so far, peluo1? Have you found your <title> tags and tried to change them? (like the screenshot posted above by Evan:

    If you post the code here, make sure you enclose it in ‘code’ ticks using the code button on your post editing bar. If it’s really long, consider using pastebin instead, much easier to read.

    Oh ok, I can change that, for sure. But how do I get to that? What do I have to open or click on? As you can see, I am very new at this still.

    It’s in your header.php file. Look for the part of the file that deals with <title> and </title>, you will want to put your text between those two tags.

    This article might help you understand the role of the header.php file and the way your theme is set up.

    Ok I can do that. Thanks for the information. It is starting to click in my head. My question is how do I access that php file? Where do I physically go to do it? When I go to edit the “header” protion of the website, all I get is the choice of themes and images and such. There is no actual code that I see.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Changing title on browser tab’ is closed to new replies.