I wanna have a different layout for the page not found 404 page. How can i set a different layout for that page?
Just you need to make layout changes in your error400.ctp file under /app/View/Errors/error400.ctp
Open that file and set layout by
layout=''; //set your layout here ?>