How can I add different code (js, css links etc.) to the header depending on the page?
For example, for 404.php I would like to add something like this to the header:
<meta content="3; URL = javascript: history.go(-1)" http-equiv="Refresh" />
In my current, non-Wordpress site I have this in the header:
<? echo $other ?>
At the top of other pages using the same header I can add whatever's necessary:
$other = " whatever.js ";
This solution doesn't work with WordPress. Is there another way to do this?
Please don't give me alternative redirect suggestions! That's just an example. My question is about including code in the header.