So I'm dynamically filling a small set of template pages with dynamic data from a DB, with the dynamic inputs contained in the URL params.
I'm using a URL rewriter(mod_rewrite) to create static-looking URLs for these template pages, but I'd really like to have the page titles be dynamic too.
I've found out how to do this in javascript after the page has been loaded, but apparently that won't work correctly for SEO, or for links to the page.
The main example I have, is that the wiki page for genome.
http://en.wikipedia.org/wiki/genome
… is rewritten to:
http://en.wikipedia.org/w/index.php?title=genome
Yet the page title will be Genome - Wikipedia, instead of Template - Wikipedia.
How does wikipedia dynamically rename the page title? Somehow I doubt they create new static html pages for every single article, they probably use a template.
Is there any way to have a parameter be assigned to the page title?
Thanks in advance.