WordPress.org

Ready to get started?Download WordPress

Forums

How to add a site description that shows up in Google? (3 posts)

  1. UsmanLaw
    Member
    Posted 8 years ago #

    How do you add a title/description that will show up when your site is shown in a search engine?

  2. Lorelle
    Member
    Posted 8 years ago #

    The site description information is stored in two places in the <head> of your site. In the "title" and the meta tag for "description".

    You manually add this information as straight info or using the WordPress template tags. All the information for both methods is in the article on the Codex:

    http://codex.wordpress.org/Meta_Tags_in_WordPress

    What Google grabs is up to Google. There are no garrantees. Sometimes this information comes from submitting your site.

  3. tomhanna
    Member
    Posted 8 years ago #

    Google does like to grab anything that you put in as a headline, too. For example, I have this at the top of my header:

    <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>
    </h1>
    <h2 id="lowerheader"><?php bloginfo('description'); ?></h2>

    And Google returns my blog name in bold followed by my blog description. Google tends to ignore meta tags, because they were so overused by spammers, but it might use a description meta tag.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags