WordPress.org

Ready to get started?Download WordPress

Forums

Meta Script (6 posts)

  1. 350z
    Member
    Posted 8 years ago #

    I was told adding this script into your homepage would help the 'search bots' index your website better?

    <meta name="description" CONTENT="...">
    <mete name="keywords" CONTENT="...">
    <meta name="distribution" content="global" />
    <meta name="robots" content="follow, all" />
    <meta name="language" content="english" />
    <meta name="revisit-after" content="5 days" />

    Just wanting to ask first of all, if this is the case?

    Secondly, I'm using the Blix theme, which page do I insert the code in?

    Thanks in advance for any help.

  2. Beel
    Member
    Posted 8 years ago #

  3. flakkito
    Member
    Posted 8 years ago #

    Here's what ive been using based off of what ive read here and there. Keep in mind im not saying there is any need for the amount of tags and im surely not saying they even help. However, I feel they dont hurt so what the hell.

    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() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Window-target" content="_top" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta http-equiv="MSThemeCompatible" content="No" />
    <meta name="Keywords" content="blah blah" />
    <meta name="Description" content="blah blah" />
    <meta name="language" content="U.S. English" />
    <meta name="abstract" content="blah blah-- same as description" />
    <meta name="author" content="your name" />
    <meta name="Publisher" content="your name" />
    <meta name="Publisher-Email" content="your name@some.com" />
    <meta name="copyright" content="Copyright blah blah" />
    <meta name="robots" content="all" />
    <meta name="revisit-after" content="5 days" />
    <meta name="Reply-to" content="your name@some.com" />
    <meta name="document-class" content="Living Document" />
    <meta name="document-classification" content="Entertainment" /><!-- change this probably -->
    <meta name="document-rights" content="Copyrighted Work" />
    <meta name="document-type" content="Public" />
    <meta name="document-rating" content="General" />
    <meta name="document-distribution" content="Global" />
    <meta name="document-state" content="Static" />
    <meta name="resource-type" content="document" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <meta name="cache-control" content="no-cache" />
    <meta name="pragma" content="no-cache" />
    <meta name="URL" content="http://some.com/" />
    <link rel="icon" href="your.png" type="image/png" />
    <link rel="Shortcut Icon" type="image/ico" href="http://www.some.com/favicon.ico" />

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

  4. Beel
    Member
    Posted 8 years ago #

    Holy cow. I suspect you'd bring a cannon to a spitball contest

    Most of the meta crap isn't used with today's search engines. All you really need is:
    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <meta name="robots" content="<?php echo (!$single?'no':''); ?>index,follow" />

    I also have this for geourl stuff:
    <meta name="ICBM" content="40.04454, -105.25083" />
    <meta name="DC.title" content="Bill's Web Journal" />

  5. flakkito
    Member
    Posted 8 years ago #

    Hey Beel, I have been accused of overkill before;)
    I think i'll incorporate the php that you included in there....good idea.

    cheers,
    rob

  6. Beel
    Member
    Posted 8 years ago #

    Yeah, since the index page is not static, it does not make sense to index it - lot of fruitless searches (unless the blog is rarely updated, like mine ;-). This way just the permalink page of the front page article gets indexed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags