# Rename Controller Folder and get error

**URL:** <https://discourse.cakephp.org/t/rename-controller-folder-and-get-error/3655>\
**Category:** Need Help\
**Created:** [December 16, 2017, 7:33am UTC](https://discourse.cakephp.org/t/rename-controller-folder-and-get-error/3655 "2017-12-16T07:33:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuldeep.techarchsoft](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kuldeep.techarchsoft](https://discourse.cakephp.org/u/kuldeep.techarchsoft)\
**Post date:** [December 16, 2017, 7:33am UTC](https://discourse.cakephp.org/t/rename-controller-folder-and-get-error/3655/1 "2017-12-16T07:33:11Z")

</div>

I renamed the controller folder in my cake php site to controller\_ and got the error.

Screenshot: [https://prnt.sc/ho7fce](https://prnt.sc/ho7fce)  
Error is :

missingAction  
className: PagesController  
action: index  
webroot: /  
url: /  
base:

I rename back to controllers folder to controllers but the issue is still there. Please help me.  
Thanks

---

<div class="post-metadata">

**Author:** ![Graziel](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@Graziel](https://discourse.cakephp.org/u/Graziel)\
**Post date:** [December 16, 2017, 9:59am UTC](https://discourse.cakephp.org/t/rename-controller-folder-and-get-error/3655/2 "2017-12-16T09:59:50Z")

</div>

make sure its ‘Controllers’ with capital ‘C’ in unix systems it matters
