[resolved] Permalinks and how listings appear in Google (6 posts)

  1. ellaella
    Posted 8 years ago #

    I am at my wit's end. At the first of the year I took my wordpress.com blog self-hosted. I chose pretty permalinks, as I had before, but quickly saw new posts appeared different in Google, beginning with the words Blog archive>>. I assumed it is theme dependent and emailed the theme author but got no reply.

    I then installed the AIO SEO pack which gave me the appearance I desired but -- my hits plummeted, especially for any new posts, sometimes non-existent and finally I tracked down a couple recent listings and they showed only words from my front page, mostly the blogroll, as a snippet or summary. I upgraded the plugin with no change so yesterday I disabled the plug in and my hits almost immediately jumped, especially (again) for the older, wp.com posts.

    So short of changing themes, how can I change that one aspect? The Codex seems Greek to me. Using today's post as an example Google shows as a title:

    From Scratch>>BlogArchive>>Video preview: new Top Chef

    And I'd like it say either:

    Video preview: new Top Chef
    Video preview: new Top Chef|From Scratch

    It's on page 4, using the search term Top Chef preview. The Sphereit listing for that post is on page 3. I am not thrilled.

    Thanks in advance.

  2. Khairil Zhafri
    Posted 8 years ago #

    You need to tell what's inside <title> </title>.

    To get "Video preview: new Top Chef", use
    <?php wp_title(''); ?>

    "Video preview: new Top Chef|From Scratch", assuming "From Scratch" is your blog title use
    <?php echo wp_title(''); if (is_home()) { echo ''; } else { echo ' | '; } bloginfo('name'); ?>

  3. ellaella
    Posted 8 years ago #

    Thank you very much. Is that in header.php (where I have this) or does it occur in more than one file?

    Here's what I have:

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

  4. Khairil Zhafri
    Posted 8 years ago #

    Alright, you can replace that with:
    <title><?php echo wp_title(''); if (is_home()) { echo ''; } else { echo ' | '; } bloginfo('name'); ?></title>

  5. ellaella
    Posted 8 years ago #

    Thank you very, very much. I've changed it in header.php and I actually understand most of it.

    Will mark this resolved. Thanks again.

  6. mesmerize
    Posted 7 years ago #

    this also HELPED me a lot. It removed the annoying 'blog archive and it helped me change the symbol ' | ' to ' - ' which I think looks better (in my opinion). Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.