• I am trying to figure out why my blog dropped out of search results and it appears that my meta description is the same for every page/post causing duplicate content problems.

    It seems that the description that I gave for my tagline comes up as the meta description for every post. Is there a way to set up my header so that it automaticaly adjusts my meta description to the title of the post and not to my blogs tagline?

    I know about the plugins head-meta-description and “Another wordpress meta plugin” but these plugins add meta descriptions to my header they dont replace the current meta description and they also end up lower down the page.

    I noticed some blogs have no plugins installed and there descriptions are post title appropriate.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    I took a look at my blog and didn’t find any meta description at all. The default theme doesn’t have one either. I’d suggest looking at your theme and plugins and seeing if you can work out where the meta description comes from in the first place.

    Thread Starter reln

    (@reln)

    The meta description would be located in the header.php file if you have it.

    Many themes have it. My theme is wp-andreas01-12 and the meta description in the header is:

    <meta name=”description” content=”<?php bloginfo(‘name’); ?> – <?php bloginfo(‘description’); ?>” />

    Maybe there’s something wrong with this setup.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Well, with that, then yeah, your meta description will be the same on all your pages.

    This code: <?php bloginfo('description'); ?>
    returns the tagline of the blog. Which might be fine for your main page, but is probably not something you want on single post pages.

    I would suggest removing that line from your theme and using one of those plugins you mentioned instead. Location of the meta tag on the page is irrelevant as long as it’s still in the <head> section.

    Thread Starter reln

    (@reln)

    So it seems the code for the meta description is the problem. Alright, I removed the code and inserted the meta-head plugin instead.

    thanks otto

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Meta Description the same for every page’ is closed to new replies.