Support » Plugin: All in One SEO Pack » All in One SEO Pack Showing Wrong Tag Page Title With Twenty Twelve Theme

  • I am using Twenty Twelve Theme and All in one SEO. Suddenly I discover that my tag page <title> is being shown wrong in browser title. And also google already indexed my wrong tags title.
    One of my tag is “WP Logs Book” and my blog title is “oneTarek” and Setting of All in SEO plugin for tag title is “%tag% | %blog_title%” . So my tag page title should be following
    <title>WP Logs Book | oneTarek</title>
    But it is showing
    <title>WP Logs BookoneTarek | oneTarek</title>
    Blog title is being shown twice.

    My tag url is See this page title in browser title bar.
    My other title ( page, post, category ) is fine.

    When I switched my theme to “twenty eleven” then it shows correct title.

    Now my assumption is that “All in one SEO” is not working with “Twenty Twelve” properly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • i am also having issues with All in one SEO and Twently Twelve.

    i have the title set to: <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title> as per the twenty twelve default.

    but when viewing the site, the title displays as:
    Page TitleWebsite Name instead of:
    Page Title | Website Name

    is anyone else having this issue or has anyone found a solution?


    @jakus; the same here… any solution?

    It seems that if you actually set the title for each individual page, in the All in One SEO settings, located just below the text editor, it solves the problem.

    It’s not ideal, but it’s something for now.

    I’d still like to know why it doesn’t work as it used to, by default.

    I came across this in the Underscores theme framework I was using with All in One SEO. It turns out that the title rewriting is not compatible with the custom wp_title() functions in certain themes, like Twenty Twelve.

    There’s no good way to fix it without editing the theme code… If you comment out Line 185 in functions.php in Twenty Twelve, it should work fine.

    This line: add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 );

    Thank You @yakbrother , It works for me.

    Now my tag page title is showing
    <title>WP Logs Book | oneTarek</title>
    instead of
    <title>WP Logs BookoneTarek | oneTarek</title>

    I commented out following line in function.php of twenty twelve theme.
    //add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘All in One SEO Pack Showing Wrong Tag Page Title With Twenty Twelve Theme’ is closed to new replies.