ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Unique homepage titles for MSM forums

January 31, 2009 6:11am

Subscribe [1]
  • #1 / Jan 31, 2009 6:11am

    jkneeshaw

    31 posts

    Hello,

    I’m using the MSM and EE forum module to power several different forums across multiple domains. I would like to remove “Powered by ExpressionEngine” from the title of my forums and replace it with something more appropriate for SEO purposes.


    I’ve searched and found that you can modify line 1621 of mod.forum.php

    $this->_set_page_title(($title == '') ? 'Powered By ExpressionEngine' : $title);

    How can I change this setting to say something different for each forum instead of a generic phrase shared by all?

  • #2 / Jan 31, 2009 6:27pm

    Greg Aker

    6022 posts

    Jacob:

    I don’t see a good way to do that.  At this point, I think a Feature Request would be the best solution.

    -greg

  • #3 / Jan 31, 2009 8:39pm

    jkneeshaw

    31 posts

    Hi,

    If anyone else encounters this problem I figured out a solution that seems to work.

    Instead of messing with mod.forum.php as referenced above, I went into the global skin templates (html header) and added a uri segment conditional to the existing title tags.

    {if segment_2 ==""}
    <title>custom index title here</title>
    {if:else}
    <title>{forum_name} | {page_title}</title>
    {/if}

    I would still like to see a setting in the ACP though, so I’ll go submit a feature request.

  • #4 / Feb 01, 2009 4:04pm

    Greg Aker

    6022 posts

    Jacob:

    Thanks for posting your solution.  If anything else comes up, please don’t hesitate to start a new thread.

    Thank you,

    -greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases