title: Creating custom error page in Symfony 2.5
body: <p>I am working with Symfony 2.5.3 and I am trying to create the custom error page so for example if someone lands on a page or try to access a page that does not exist the <code>404</code> error message should appear within the theme of the site.</p>
  
  <p>I understand that default <code>404</code> error page sits inside the <code>TwigBundle</code> that comes with symfony and looking at some other answers on this site people are <a href="https://stackoverflow.com/questions/14226092/customizing-symfony-2-error-pages">suggesting</a> that in order to have the custom error page I need to copy them in directory <code>ROOT app/Resources/TwigBundle/views/Exception</code> so I copied over the <code>error.html.twig</code> and even created <code>error404.html.twig</code> but this does not work. I also looked into <a href="https://stackoverflow.com/questions/11640372/which-templates-should-be-overridden-in-symfony-2-error-customization">this</a> solution but still no luck.</p>
  
  <p>I tried to access my development site via <code>http://127.0.0.1:8000/app.php/services</code> to check may be in production i will see the correct template but I dont, please note that i have cleared the cache before accessing <code>http://127.0.0.1:8000/app.php/services</code> and I still see the default error template that comes with Symfony</p>
  
  <p>I will really appreciate any help on this.</p>