Results 1 to 6 of 6

How to change <title> for the CMS

This is a discussion on How to change <title> for the CMS within the Template Modifications forums, part of the vBulletin SEO Discussion category; Ok so I want on the main page (which is CMS home) to have the default title (i've already took ...

  1. #1
    Member
    Real Name
    Cezar
    Join Date
    Aug 2007
    Posts
    31
    Liked
    1 times

    How to change <title> for the CMS

    Ok so I want on the main page (which is CMS home) to have the default title (i've already took care of that in Options) but when I visit an individual CMS page, I want that page to have its own title not as it is now :

    <title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if> - {vb:raw html_title}</title>
    So I think I need a condition, if it's home, then {vb:raw vboptions.cmstitle}, else {vb:raw html_title}.

    I really appreciate if you give me any leads.

    Tnx!

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Each page in the CMS sets its own title and meta info. Edit the article, and look on the bottom right of the edit panel.

  3. #3
    Member
    Real Name
    Cezar
    Join Date
    Aug 2007
    Posts
    31
    Liked
    1 times
    Tnx for the reply. Yes, I am aware of that and in that edit section, within the field HTML <title> Tag there's only the CMS post's title. But when I view source the <title> is {vb:raw vboptions.cmstitle} - post title.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    you may need to revert your cms_page template in this case, as the title set on the article should display correctly.

  5. #5
    Member
    Real Name
    Cezar
    Join Date
    Aug 2007
    Posts
    31
    Liked
    1 times
    Just reversed it..the same problem. I've went into the cms_page template and found this line: <title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if> - {vb:raw html_title}</title> so basicly, whatever I do, the CMS/Forum name will appear anyway.

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    This may be a question you need to pose to vb support.

Similar Threads

  1. Replies: 1
    Last Post: 09-09-2011, 05:55 PM
  2. Replies: 12
    Last Post: 06-23-2009, 02:21 PM
  3. how do i change the title?
    By tunedtech in forum General Discussion
    Replies: 8
    Last Post: 05-10-2009, 10:54 PM
  4. Can you change the page title to the thread title?
    By guitarheroforum in forum General Discussion
    Replies: 10
    Last Post: 12-09-2008, 12:18 PM
  5. Help: How do I change the Title?
    By Benedict in forum General Discussion
    Replies: 2
    Last Post: 03-03-2006, 02:05 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
  •