Show a block on a certain URL with wildcard How do I show a &lt;div&gt; inside page.tpl.php, on every page except for URLs that start with "audio/track"?
If the page is not a node (is a landing page, view, panel etc) you can use the function arg

if(arg(0) != "audio" &amp;&amp; arg(1) != "track") {
  print "&lt;div&gt;&lt;/div&gt;";
} 


Or if is a node you can make the conditional using a taxonomy or using the node type.

if(arg(0) == "node" &amp;&amp; is_numeric(arg(1)) &amp;&amp; $node-&gt;type != "your-node-type" ){
  print "&lt;div&gt;&lt;/div&gt;";
}