[resolved] Title Google search seo and meta settings (2 posts)

  1. Scott@adszoom
    Posted 2 years ago #

    I notice if I make a HTML form and use it as a submit form it automatically uses the title as meta info. Example if I post then copy and past that posts title into the Google search if unique it will pull up the post in the search results. I can’t get this to do the same using a Gravity form for some reason. Is there something I’m missing in the theme or a setting in the form? Maybe a merge tag in the title field, like “embedded url” or and such?

    I do have this in my header.php not sure if it applies

    <?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('description'); } ?> — <?php bloginfo('name'); ?>

    Please help


  2. Scott@adszoom
    Posted 2 years ago #

    To correct the duplicate issue for the title / post's not indexing. This is the config your header.php needs, so the title dose not duplicate and your posts index properly.

    make sure your <title> between </title> looks like this then check the page source. It should be the post title then | then blog name. This is the new and only way Google will index a post title correctly so if you copy your post title into the browser it will pull up the post in the search.
    aFTER you change the header to the correct config. Log into Google web master tools.
    Under " health " click " fetch as Google " leaving just your primary domain in the fetch tool. Click fetch then click " submit for index " MAKE SURE YOU PICK OPION 2. This will reindex the entire site.

     * The Header for our theme.
     * Displays all of the <head> section and everything up till <div id="main">
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
    ?><!DOCTYPE html>
    <!--[if IE 6]>
    <html id="ie6" <?php language_attributes(); ?>>
    <!--[if IE 7]>
    <html id="ie7" <?php language_attributes(); ?>>
    <!--[if IE 8]>
    <html id="ie8" <?php language_attributes(); ?>>
    <!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
    <html <?php language_attributes(); ?>>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    	 * Print the <title> tag based on what is being viewed.
    	global $page, $paged;
    	wp_title( '|', true, 'right' );
    	// Add the blog name.
    	bloginfo( 'name' );
    	// Add the blog description for the home/front page.
    	$site_description = get_bloginfo( 'description', 'display' );
    	if ( $site_description && ( is_home() || is_front_page() ) )
    		echo " | $site_description";
    	// Add a page number if necessary:
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );?></title>

Topic Closed

This topic has been closed to new replies.

About this Topic