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.
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.
Upvote
0