WordPress.org

Ready to get started?Download WordPress

Forums

how to add meta tags in each page or post? (9 posts)

  1. grantatrade2011
    Member
    Posted 2 years ago #

    i am making a site in wordpress and i want to add some meta tags, in my page so how can i add, i can easily add that meta tags in HTML site but on wordpress how i do? for index, nonindex, follow , nofollow i am using some plugins but how can i add some meta tags in in whole post or page?
    plz share with me i need urgent help.

    thanks

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

  3. grantatrade2011
    Member
    Posted 2 years ago #

    Hi Thanks Alchymth
    but these are only for title tags etc..
    i want to use these kinds of tage for my Each Pagr or post

    latitude; longitude

    <meta name=”geo.position” content=”40.794747;-74.264883”>
    <meta name=”geo.placename” content=”Essex, New Jersey, United States”>
    <meta name=”geo.region” content=”us-nj”>
    <meta name="robots" content="noimageindex">
    <meta name="robots" content="imageindex,mediaindex" />
    <meta name="robots" content="index,follow" />

    As you know this is very easy to add these tags in html site just open each page and add after head section but in WordPress how can we add in each page>?
    is there any way we can add these codes in my pages (Wordorpress site)
    Thanks

  4. tony009
    Member
    Posted 1 year ago #

    Using WP for first time denouncing Dreamweaver ...I am a bit lost when adding meta tags in header, my header php code looks like--
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php
    /*
    * 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>
    ######################################################
    Q1 Where do i insert the Title code exactly?
    Q2. I want different header in every page, how can i do it??
    Q3. What about meta tags?...description and key words. Where can i insert them???

  5. pantaluna
    Member
    Posted 1 year ago #

    Did you find a solution Tony009? I'm trying to find a solution as well.

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @pantaluna

    please start your own topic,
    and explain in more detail what you have tried so far, and what you want to achieve.
    and what is wrong with seo plugins?

  7. pantaluna
    Member
    Posted 1 year ago #

    OK.

    >and what is wrong with seo plugins?
    They are definitely not suited for what I want to achieve.

  8. francis sakwa
    Member
    Posted 1 year ago #

    my site not appearing in search engine despite inserting meta tags pleas help its urgent!

    hear is the header.

    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?>>
    <head>

    <meta name="resource-type" content="document" />
    <meta http-equiv="content-type" content="text/html; charset=US-ASCII" />
    <meta http-equiv="content-language" content="en-us" />
    <meta name="author" content="amnesty international Kenya" />
    <meta name="contact" content="amnestykenya@amnesty.org" />
    <meta name="copyright" content="Copyright (c)1977
    amnesty Kenya. All Rights Reserved." />

    <meta name="keywords" content="kenya, amnesty kenya, kenya, human rights in kenya,
    housing rights, forced evictions, gender defenders, women and girls in the slum, mathare gender defenders, sakwa, justus nyangaya, HRE" />

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

  9. francis sakwa
    Member
    Posted 1 year ago #

    my site not appearing in search engine despite inserting meta tags pleas help its urgent!

    hear is the header.

    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?>>
    <head>

    <meta name="resource-type" content="document" />
    <meta http-equiv="content-type" content="text/html; charset=US-ASCII" />
    <meta http-equiv="content-language" content="en-us" />
    <meta name="author" content="amnesty international Kenya" />
    <meta name="contact" content="amnestykenya@amnesty.org" />
    <meta name="copyright" content="Copyright (c)1977
    amnesty Kenya. All Rights Reserved." />

    <meta name="keywords" content="kenya, amnesty kenya, kenya, human rights in kenya,
    housing rights, forced evictions, gender defenders, women and girls in the slum, mathare gender defenders, sakwa, justus nyangaya, HRE" />

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

Topic Closed

This topic has been closed to new replies.

About this Topic