• Hey I get double tites on my WordPress webpage!

    I think it has to do with Yoast WordPress SEO reading from another thread.
    If it matters, I am MafiaShare Rethink theme.

    At first I went to header and changed <title elegant_titles… to <title wp_title.., after I did that I got a completely new header code, looking like this:

    <title>
                <?php
                /*
                 * Print the <title> tag based on what is being viewed.
                 */
                global $page, $paged;
                wp_title('', true, 'right');
    // Add the blog name.
                bloginfo('name');
    // Add the blog description for the home/front page.
                $site_description = get_bloginfo('description', 'display');
                if ($site_description && ( is_home() || is_front_page() ))
                    echo " | $site_description";
    // Add a page number if necessary:
                if ($paged >= 2 || $page >= 2)
                    echo ' | ' . sprintf(__('Page %s', 'rethink'), max($paged, $page));
                ?>
            </title>

    On the Yoast plugin I tried Force Rewrite as well as changing title template. Nothing yet worked.

    First post, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Double titles’ is closed to new replies.