1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest [Suggestion] Place a size limit on the Title tag

Discussion in 'Closed Suggestions' started by Ryan Kent, Jun 6, 2011.

  1. Ryan Kent

    Ryan Kent Well-Known Member

    The W3C recommendation for a title tag length is 64 characters. I believe Google shows up to 65 characters in their search results. Whatever the number, it seems pointless to create <TITLE> tags that are too much longer.

    Some suggestions:

    - decide upon a max length for the title tag and truncate it. It seems a waste to go past a certain character count point.

    - by default XF adds the board title to the thread title, and creates a title tag. Perhaps there should be a character check with logic such that [if length(post title)>70 then <title>=post title, else <title>=post title+board title]. Please forgive the lack of use of proper XF code in this example :)

    - a last idea is to have a board name which is separate from the board title. So this site's board name is XenForo, it's board's title is "XenForo - Compelling Community Forum Software". If the title is too long, then just add the board name, and not the full board title.
     
  2. Jeff Fuqua

    Jeff Fuqua Well-Known Member

    Running a search to find a way to limit the length of thread titles, I found this. Is there any way to do this? Thanks.
     

Share This Page