7

I see that there are two ways to derive the HTML title from the question. Here some "random" examples.

Tag-prefixed question:

Solely the question:

It's of course relevant for googling questions, so what are the rules behind it? I read something about "the most relevant tag" - but since this may vary depending on the question text, can it be decided automatically?

I'm neither for nor against tags in titles, I only want to understand the logic behind it.

1 Answer 1

7

The most popular tag in the question is added to the HTML title, if it isn't found in the actual question title.

c - format string vulnerability - printf - Stack Overflow

C isn't found in the actual title, add it as a prefix.

Measuring Documentation Coverage with Doxygen - Stack Overflow

Doxygen is mentioned in the title, no need to add it.

classloader - java Class Loader - Stack Overflow

Java is mentioned in the question title itself, so check for the next most popular tag in the question: classloader isn't mentioned (note the white space) so add it to the title.

5
  • Thanks for the fast response. This mechanism seems logical. Which resource did you use? Commented Feb 13, 2014 at 12:57
  • @Wolf it's something that has come up on chat a few times, and the related questions mention at least some of these. Commented Feb 13, 2014 at 12:59
  • Is there no "official" description on some help page? Commented Feb 13, 2014 at 13:01
  • @Wolf I'm not aware of any, but I don't read those pages too often. Commented Feb 13, 2014 at 13:02
  • I had a look, but found nothing like this. And here both fail: the SO internal search AND google ;) Maybe that's by purpose (First tag in the title of the page is not that convenient - Meta Stack Overflow, seo - Does the order of keywords matter in a page title? - Webmasters Stack Exchange)... Commented Feb 13, 2014 at 13:57

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.