• Resolved aleks77

    (@aleks77)


    Hi, I am having a problem with the title of my website, and how it is shown in the title bar of the browser at the top. On the main page, and only there, it states “-Part 1-” directly after the title of my website. As soon as I browse to any other page or post within my website, the “Part 1” disappears. There is nothing in the settings or anywhere else, where I have included this “Part 1”.

    My website is located at https://www.manexperience.com. The tag responsible for the title is:

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> ? Blog Archive <?php } ?> <?php if( !is_home() || !is_front_page() ) { wp_title(); } ?></title>

    Thread Starter aleks77

    (@aleks77)

    I tried, but it doesn’t work. This “Part 1” line seems to be part of the blog title, but I just can’t find it, I have never written it anywhere, and also does not appear anywhere in the settings.

    The code you posted isn’t being used to generate your meta-title. For example, on the single post page, https://www.manexperience.com/2009/12/credit-cards-and-how-to-use-them-intelligently/ , the meta-title is:

    Credit Cards and How to Use them Intelligently | The Man Experience

    which could not be generated by the above code.

    Thread Starter aleks77

    (@aleks77)

    But then, what does generate the title? The code I provided is listed in the header.php file, and it is the only title tag in the entire template (Arthemia theme).

    By the way, I just went through my whole SQL database, and the “Part 1” line does not pop up anywhere.

    Try looking in the theme’s index.php to confirm exactly what file is being called for your header.

    Thread Starter aleks77

    (@aleks77)

    Hi, it seems I found the problem. I run the plugin Platinum SEO, and there is an option “Paged Format” which is formatted to “- Part %page%” by default. I deleted this line, and the problem is resolved.

    What I don’t understand is that I am running the plugin at another site also. This site still has the line “- Part %page%” in it, and does not have this problem.

    Anyone experience something similar? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid “Part 1” in website title’ is closed to new replies.