title: If current page URL equals X OR X?
body: <p>I found this code on the internetz, it checks the current page url;</p>
  
  <pre><code>function curPageURL() {
  $pageURL = 'http';
  if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
  $pageURL .= "://";
  if ($_SERVER["SERVER_PORT"] != "80") {
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
  } else {
  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
  }
  return $pageURL;
  }
  </code></pre>
  
  <p>So now I can do something like this;</p>
  
  <pre><code>elseif (curPageURL() == "http://www.example.com/pageexample") {
  &lt;meta tags here&gt;
  }
  </code></pre>
  
  <p>Great. But I would also like to use this for pagination pages. Those URLs look like this:</p>
  
  <pre><code>http://www.example.com/pageexample?start=30&amp;groep=0
  http://www.example.com/pageexample?start=60&amp;groep=0
  http://www.example.com/pageexample?start=90&amp;groep=0
  [....]
  http://www.example.com/pageexample?start=270&amp;groep=0
  </code></pre>
  
  <p>I could use a if statement for every of those links.. but I would much rather like to use one. Is it possible to add a wildcard or something? Like this I guess (notice the <code>*</code>)</p>
  
  <pre><code>elseif (curPageURL() == "http://www.example.com/pageexample" OR curPageURL() == "http://www.example.com/pageexample?start=*&amp;groep=0") {
  </code></pre>
  
  <p><strong>edit</strong>: I would like to do this for all those URLs because I want to give them the same <code>meta description</code>, <code>&lt;title&gt;</code> and <code>&lt;link rel="canonical"</code>. I could do this manually by doing an if-statement for every page (10+ atm) but I figured there was a better way.</p>