Forums

[resolved] Which blog file do I insert a meta tag (8 posts)

  1. fjp800
    Member
    Posted 3 years ago #

    I would like to insert a meta tag into my blog, but I do not know which file to access? Should it be any of the following: wp-blog-header; admin-header; custom-header; menu-header; header (I have three header folders)? Or should it be placed somewhere else or in a number of files??? If you would like to see the source file.. My site is http://attorneyclientforum.com Thank you

  2. whooami
    Member
    Posted 3 years ago #

    design changes and whatnot are made to your current theme's files. NOT to the core wordpress files.

    If you want to change the sidebar, you typically need to edit your current theme's sidebar.php. You want to edit your header, you typically need to edit your current theme's header.php.

    I say typically, because the theme you are using may or may not use the standard template files. If it doesnt, you will need to look through your current theme's files to see what's what.

  3. fjp800
    Member
    Posted 3 years ago #

    I think I have it? I found it under Theme Editor/Header.php If this is right where exactly do I place it. MY META TAG IS AS FOLLOWS:<TITLE>attorneyclientforum</TITLE>
    <LINK REV="made" href="mailto:urefillit@verizon.net">
    <META NAME="keywords" CONTENT="client, attorney, legal representation, legal, legal language">
    <META NAME="description" CONTENT="Sometimes the client needs protection from an Attorney’s legal language in contracts that specifies what the attorney is responsible for. The mission of the Attorney/Client forum is to share information and experiences from clients that future clients can learn from. The forum is intended to help a Client get the best protection and benefit from legal representation by an Attorney from this sharing of information.">
    <META NAME="author" CONTENT="frank piccione">
    <META NAME="ROBOTS" CONTENT="ALL">

    AT PRESENT IT READS: <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

  4. whooami
    Member
    Posted 3 years ago #

    put on your thinking cap.

    you want to replace the <title> tags.. you pasted that right out of the file. remove whats currently inside those tags, and put your own stuff.

    you want to add more meta tags -- how about putting those right above or below the other meta tag stuff that you pasted right out of the file?

  5. fjp800
    Member
    Posted 3 years ago #

    Thank you for the information. I am very, very new at this and I am very concerned that I amy make an error. Is the following what it should look like when edited?:

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    :<TITLE>attorneyclientforum</TITLE>
    <LINK REV="made" href="mailto:urefillit@verizon.net">
    <META NAME="keywords" CONTENT="client, attorney, legal representation, legal, legal language">
    <META NAME="description" CONTENT="Sometimes the client needs protection from an Attorney’s legal language in contracts that specifies what the attorney is responsible for. The mission of the Attorney/Client forum is to share information and experiences from clients that future clients can learn from. The forum is intended to help a Client get the best protection and benefit from legal representation by an Attorney from this sharing of information.">
    <META NAME="author" CONTENT="frank piccione">
    <META NAME="ROBOTS" CONTENT="ALL"><!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

  6. whooami
    Member
    Posted 3 years ago #

    that looks fine, I spose, except for the colon before the title bits.

    If youre worried about breaking something, back up the file before you edit it.

  7. fjp800
    Member
    Posted 3 years ago #

    Hey.. THANK YOU SOOOO MUCH!!!! Guys like you are absolutely great to give your time to helping others!!!! Your time was very much appreciated by me! One last thing.. You referred to additional meta tags. Is there a need for additional ones? If so, what would you suggest? Thank you again Frank Piccione fjp800@gmail.com

  8. whooami
    Member
    Posted 3 years ago #

    You referred to additional meta tags.

    I was only referring to the ones that already existed in the file, based on what you pasted.

    Btw, there are plugins that simplify what you are doing.

    http://wordpress.org/extend/plugins/search.php?q=meta+tags+seo

    and youre welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.