How to show a block on pages with url parameters? I have a block that I want to show on pages matching news and news?page=1. In the 'only show on these pages' section I have news and news/* but it doesn't match the second url. Is there a way to do this? 

Update 1: I have also tried this:

&lt;?php
    $url = request_uri();
    if (strpos($url, "news")) {
    return TRUE;
        }
    ?&gt; 

But even after clearing all the caches it doesn't seem to have worked either.

I also tried the pattern news?page=* but that doesn't work either! Surely somebody considered being able to show blocks on paginated pages?

Update 2: Found the answer Restrict block to specific pages is broken when using view pagination

Turns out the block I was trying to display was a View which was also set to display a pager (even though one doesn't appear). Turning the pager off resolved the issue.
Found the answer Restrict block to specific pages is broken when using view pagination

Turns out the block I was trying to display was a View which was also set to display a pager (even though one doesn't appear). Turning the pager off resolved the issue.