• Resolved VierasTalo

    (@vierastalo)


    Hi. I just updated our site at https://www.laajakuva.com/ to the latest version of Hueman. Upon doing so, the title for the index page changed from being Laajakuva (the title of our site) to being the URL of the site. How do I change it back?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi VierasTalo. Maybe you were able to get this fixed (?) as I’m seeing “Laajakuva” for the title now.

    Thread Starter VierasTalo

    (@vierastalo)

    Hi, it still isn’t fixed for me. I’ve visited the site using Incognito mode too, but it still remains https://www.laajakuva.com for whatever reason using the latest version of Google Chrome. Image: https://i57.tinypic.com/mmqg7.png

    So, “the title for the index page” in your original post led me to believe you were referring to the title on the actual page, not the browser tab. The title in the header is created by a theme function which returns the “Site Title” set in Settings > General. This data is retrieved from the “blogname” record in the wp_options table. I couldn’t find any specific documentation on the browser tab but, based on some very unscientific testing, it appears that the browser tab text is derived from the site title and the page that is being displayed. In the default theme configuration, on the home page, this would be “site name – site tagline”. These values are retrieved from the database by a default WP function and placed between the <title> tags in the header. However, your header is showing this:

    <title></title>

    Again, based on a bit of testing, if the site title and tagline are missing, the default for the browser tab is the site URL. This would seem to indicate that for your site either (a) it can’t find the site title and/or the tagline, or (b) there is something else (SEO plugin?) overriding the default processing.

    Thread Starter VierasTalo

    (@vierastalo)

    So, the site title is correctly entered in the Settings.

    What can I do about option A?
    I don’t think it’s B, because I don’t have any SEO-plugins according to all I know. Here’s a list of the plugins I have installed:
    https://i61.tinypic.com/2u55ll1.png

    Or could I possibly add code manually to the header.php to get the title to show something? My current code in my child theme file of header.php for the title-tags is
    <title><?php wp_title(''); ?></title>

    This is the title line in header.php of the current version (wp.org v1.4.7 and theme website v2.2.0):

    <title><?php wp_title( '-', true, 'right' ); ?></title>

    It also includes this in the theme setup function:

    // Enable title tag
    add_theme_support( 'title-tag' );

    Upgrading to the current theme version may fix it.

    Make sure to update to WordPress 4.1+

    Thread Starter VierasTalo

    (@vierastalo)

    Thanks bdbrown; I updated to the website version 2.2.0. This didn’t help. Then I however added the Enable title tag- command to my child theme, and that solved the problem.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘URL as site title instead of site title’ is closed to new replies.