I'm trying to use Context to display a block on a view page path, e.g. /view, but exclude it from the paged output, e.g. /view?page=1. The path exclusion tools in Drupal 8 don't work with the query string (and no query string rules are available).

There's a Drupal 7 solution (hack?) for this posted on How can I show a block in a view page, excluding its paginated pages?

Any help to get something like this in Drupal 8 working would be appreciated.

The issue on Drupal.org is https://www.drupal.org/project/context/issues/2930896.


1 Answer 1


Thanks to Clive's post above, this can be accomplished with the early dev module Request Data Conditions:


  • How to add in backend for /news?page=1;? Commented Sep 24, 2018 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.