Forums

[resolved] Why isn't my information displaying correctly in google search results (4 posts)

  1. viltnieks
    Member
    Posted 2 years ago #

    Hi,

    Today I checked google for my web-page, It's finally there :).

    But, there is wrong information displayed :(.
    I'm using WP as a CMS for a small page.
    I have filled information(blog title, tagline) in Settings->General

    But in google I'm getting totally different information, see image - second result, there is non of the information from tagline or blog name.

    How can I get my title, or tagline tag there instead ? :)

    I'm using xml-sitemap, if it's any help .

    Thanks

  2. henkholland
    Member
    Posted 2 years ago #

    Change the title in your header.php inside your theme files in wp-content

    The text in the landing page is a logo and Google does not read logo's.

  3. viltnieks
    Member
    Posted 2 years ago #

    There is something like this in header.php title tag:

    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

    Can I just delete it and write what I'd like there ?

  4. henkholland
    Member
    Posted 2 years ago #

    This is the default:

    <div id="headerimg">
    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    where name = blogname and description = tagline and the "echo Home.." makes it clickable and function as a Home button.

    But your startpage (probably index.php in the root) has no WP commands for the title in it; just hardcoded <title> info. You can change it in there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.