WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Permalinks and how listings appear in Google

[Resolved] Permalinks and how listings appear in Google

  • 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
    or
    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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'); ?>

    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>

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

    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.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Permalinks and how listings appear in Google’ is closed to new replies.
Skip to toolbar