I have a URL (/url1) that I navigate to that is showing content because of the Context module.

The Context module has a condition that when the user navigates to /url1, some view blocks are rendered on the page. However, it is also rendering a "Page not found" error at the bottom of the page.

I can't figure out how to remove that message and get it to work properly. It even has the title "Page not found" on the tab with the page. The blocks render just fine in the way I want them.

  • 1
    Did you try creating a Basic page with the URL alias url1? Nov 26, 2019 at 0:28
  • Well, that seemed to do it. I created a new Content type of Page and added the alias. If you create an answer, I will mark it for you. Thank you so very much!
    – Bobort
    Nov 26, 2019 at 14:33
  • 1
    Did you create a new content type called Page, or did you create a new node of Drupal core's Basic page content type, and set the Title field to "Page"? Nov 26, 2019 at 15:39
  • Oops...my comment had a typo. It should have stated, "I create a new Content of type Page." Basically, I created a new Page and set the Title of the page specific to my application.
    – Bobort
    Nov 26, 2019 at 17:15

1 Answer 1


You need to have some sort of content assigned to the URL url1. The simplest way would be to create a new Basic page node and set its URL alias field to url1.

By the way, what you are seeing now is the "page that is displayed when no other content matches the requested document" (Administration >> Configuration >> System >> Site Information >> Default 404 (not found) page). You can have a specific page assigned as your Page not found page, or Drupal will build the content for it on the fly, and show it using the most appropriate template in your theme (most likely page.tpl.php).

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.