Results 1 to 13 of 13

subforum name in page title

This is a discussion on subforum name in page title within the General Discussion forums, part of the vBSEO SEO Plugin category; How can I add the subforum name to each forum page's title? For example, this post you're reading right now ...

  1. #1
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times

    subforum name in page title

    How can I add the subforum name to each forum page's title? For example, this post you're reading right now has a page title of "subforum name in page title - vBulletin SEO Forums". How would I get it to say "General Discussion - subforum name in page title - vBulletin SEO Forums"?

  2. #2
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    Is this possible?

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you should modify SHOWTHREAD template for that:
    FIND:
    HTML Code:
    <title>$thread[title]
    REPLACE WITH:
    HTML Code:
    <title>$forum[title] - $thread[title]
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #4
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    Thank you, that was exactly what I'm looking for.

  5. #5
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    How would I do exactly the same thing for the archive pages?

  6. #6
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    To do it on the archive pages, you would need to modify the PHP code, or possibly using a plugin to modify the output.

    But, who uses the archive anymore anyway?

  7. #7
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    Maybe I'm not up on things, but I thought the archive was still an important part of SEO? Vbseo still has enough settings for it. Should I disable my archive?

  8. #8
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times

  9. #9
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    So the jury is still out.

    In the meantime, any tips on editing my PHP file? I don't see anything there quite like what's in the template.

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    In archive/index.php file FIND:
    PHP Code:
    $title "$threadinfo[title] 
    REPLACE WITH:
    PHP Code:
    $title "$foruminfo[title] - $threadinfo[title] 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    Excellent, that's exactly what I needed. Thanks!

  12. #12
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    0 times
    Blog Entries
    1
    do not make archive title and actual showthread titles one and same (BEWARE)
    | F | U | T | U | R | E |

  13. #13
    Senior Member
    Real Name
    Doug Nelson
    Join Date
    Sep 2006
    Posts
    141
    Liked
    0 times
    Right now archive titles all have [archive] added, is that enough?

Similar Threads

  1. The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD
    By Joe Ward in forum General Discussion
    Replies: 49
    Last Post: 09-20-2011, 08:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •