Meta Tags and PHP

Discussion in 'Search Engine Optimization' started by SEOVICE, Jun 22, 2008.

  1. #1
    If you use Php to display pages on a website is there any way to avoid duplicate meta tags? Appreciate any help.
     
    SEOVICE, Jun 22, 2008 IP
  2. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #2
    You can pull them from a database based on the query strings for the php page itself.
     
    astup1didiot, Jun 22, 2008 IP
  3. DionDev

    DionDev Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    have the meta tags echo a variable in a header file, include this file on all your pages, and set the variable on every page above the include.
     
    DionDev, Jun 22, 2008 IP
  4. SEOVICE

    SEOVICE Peon

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for you insights and help. I will try to implement these into my site.
     
    SEOVICE, Jun 23, 2008 IP
  5. Possibility

    Possibility Peon

    Messages:
    350
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    How are you handling it currently?
     
    Possibility, Jun 23, 2008 IP
  6. SEOVICE

    SEOVICE Peon

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I use a third party to handle the php. But I would like to handle it on my own soon. Particularly to avoid duplicate meta tag penalties.
     
    SEOVICE, Jun 23, 2008 IP
  7. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #7
    Hello,
    You can use database or external file to save meta tags, if your server has available mysql database, really I prefer use database, but if it is not available use external file.

    Jakomo
     
    jakomo, Jun 23, 2008 IP
  8. iteamweb

    iteamweb Active Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    google has stopped seeing the meta information before 3 months itself ,
    Now its used for just displaying the search results only.

    now content is the king , so if we place content we can grow more
     
    iteamweb, Jun 23, 2008 IP