php forum

Discussion in 'PHP' started by rmccardle, Jul 31, 2009.

  1. #1
    Does anyone know which file to go into to add meta keywords on a phpbb 3.0 forum?
     
    rmccardle, Jul 31, 2009 IP
  2. Danksy

    Danksy Peon

    Messages:
    54
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to edit the meta tags in the overall_header.html file located in the template directory for whatever theme you are using, if multiple themes you will need to edit them all. Like forum/styles/prosilver/templete/overall_header.html
     
    Danksy, Jul 31, 2009 IP
  3. Danksy

    Danksy Peon

    Messages:
    54
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Forgot to mention you'll probably need to purge the cache from the Admin menu (main page) when editing these files or the browser will probably cache the old file.
     
    Danksy, Jul 31, 2009 IP
  4. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    There are of course more difficult ways, but since Google is fairly slack on the whole process, this works out well...

    <meta name="keywords" content="{PAGE_TITLE}" />
    Code (markup):
     
    ascensions, Aug 1, 2009 IP
  5. rmccardle

    rmccardle Active Member

    Messages:
    225
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    78
    #5
    Thanks for the info. However I have looked and I do not have a file in that section called overall_header.html. Any other ideas?
     
    rmccardle, Aug 2, 2009 IP