# What is a webroot in cakephp

**URL:** <https://discourse.cakephp.org/t/what-is-a-webroot-in-cakephp/2219>\
**Category:** Need Help\
**Created:** [March 10, 2017, 8:51pm UTC](https://discourse.cakephp.org/t/what-is-a-webroot-in-cakephp/2219 "2017-03-10T20:51:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![visakhvjn](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@visakhvjn](https://discourse.cakephp.org/u/visakhvjn)\
**Post date:** [March 10, 2017, 8:51pm UTC](https://discourse.cakephp.org/t/what-is-a-webroot-in-cakephp/2219/1 "2017-03-10T20:51:05Z")

</div>

I am new to cakephp and i want to know why we use the webroot and how does the first page of cakephp redirect to the default\_layout file

---

<div class="post-metadata">

**Author:** ![JohnWayne](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@JohnWayne](https://discourse.cakephp.org/u/JohnWayne)\
**Post date:** [May 4, 2017, 2:14pm UTC](https://discourse.cakephp.org/t/what-is-a-webroot-in-cakephp/2219/2 "2017-05-04T14:14:25Z")

</div>

Read Cakephp Documentation, first part and go through tutorials (it is explained clik by click). I am sure that you will handle it and find out how it works! Good luck!
