1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHPBB 3 Forum Help

Discussion in 'phpBB' started by UltimateOnline, Apr 13, 2008.

  1. #1
    Hello, I have something i need help with. Can someone tell me how i add a description and META keywords for my forum as i dont have either for search engines to understand my site, How do i add these?

    Thanks
     
    UltimateOnline, Apr 13, 2008 IP
  2. twhiting9275

    twhiting9275 Active Member

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #2
    The settings for meta tags can be found in your style.
    Let's say you're using the prosilver style (default for phpbb3)
    you would need to edit styles/prosilver/template/overall_header.tpl

    Look for something like this
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="resource-type" content="document" />
    <meta name="distribution" content="global" />
    <meta name="copyright" content="2002-2006 phpBB Group" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    {META}
    <title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
    
    Code (markup):
    Change the keywords and the description to something you want.

    I'm not sure if there's a way to do this dynamically yet (ie: in phpbb3 acp), in fact, the above section leads me to believe it's not possible, otherwise we'd see something like content="{keywords}".

    Seems to be a pretty major flaw in the design of phpbb3, but whado I know
     
    twhiting9275, Apr 15, 2008 IP