User controlled html title tags

Posted by zaf on Stack Overflow See other posts from Stack Overflow or by zaf
Published on 2010-04-19T15:17:20Z Indexed on 2010/05/31 15:23 UTC
Read the original article Hit count: 210

What are the best practices for allowing a user to maintain the html title tags of all the major pages of his/her site?

One way could be to allow the mapping of URLs to some text.

For example, we have an app with the following (most complex) url format:

http://lang.example.com/searchpage.zaf?a=foo&b=bar&c=RANDOM

There are several parts to this:

  • Language sub domain
  • Search page
  • Static parameter 'a' (user may want this in the title)
  • Dynamic and relevant parameter 'b' (user may want this in the title)
  • Dynamic parameter 'c' which can be ignored

Never done this before, so I'm asking how you would tackle this!

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about language-agnostic