Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0-alpha1
Description: 

Introduces four new theme suggestions for 401, 403, and 404 pages to allow a custom templates for either error responses. Theme creators can add page--401.html.twig, page--403.html.twig, page--404.html.twig or page--4xx.html.twig templates to their theme for full control of page markup.

These templates are not used if a node is used for the 403/404 response.

Impacts: 
Site builders, administrators, editors
Themers

Comments

ravi kant’s picture

I am not getting page--404.html. Also i didn't add any node in 404 response.

louis-cuny’s picture

Check this quote:

These templates are not used if a node is used for the 403/404 response.

Theme suggestions will help you find out if you are using a node