~~NOCACHE~~
~~NOINDEX~~
~~NOTOC~~
global $INFO;
$debug=(!preg_match('#(www\.)?(stockcharts?)\.([a-z]{2,3})$#i',$_SERVER["HTTP_HOST"]));
if (!$debug) {
header("Location: http://stockcharts.com/");
exit;
}
Note: the orphans: wanted section is partly populated by valid files which dokuwiki has - for whatever reason - marked as locked. I have had difficulty convincing it to UNLOCK them, and with the .lock on the filename the orphanswanted plugin can't find the file. Just FYI.
~~ORPHANSWANTED:all~~