WordPress.org

Ready to get started?Download WordPress

Forums

Blog name appearing twice in home page title (2 posts)

  1. MarcelSimsx
    Member
    Posted 1 year ago #

    Hi,

    My blog name is appearing twice in the title of my header on the home page. It is showing as:

    CoolBusinessIdeas.comCoolBusinessIdeas.com | New Business Ideas, Innovations And Opportunities Around The World

    The code in my header template is:

    <title>
    <?php if ( function_exists('optimal_title') ) { optimal_title('|'); bloginfo('name'); } else { bloginfo('name'); wp_title('|'); } ?>
    <?php if ( is_home() ) { ?> | <?php bloginfo('description'); } ?>
    </title>

    I cant figure out what is wrong... It is showing ok in my other pages and posts.

    Can anyone offer some advice? Thanks!

  2. b1gft
    Member
    Posted 1 year ago #

    Have a look at your tagline in the settings page. That is normally what shows up on the tab.

    Also what have you called your home page, is it coolbusinessideas.com, if it is, change it to something else like test and see will that make a difference.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags