# Move Mautic to different directory on same host

**URL:** <https://forum.mautic.org/t/move-mautic-to-different-directory-on-same-host/3680>\
**Category:** General Discussion\
**Created:** [May 9, 2016, 1:34pm UTC](https://forum.mautic.org/t/move-mautic-to-different-directory-on-same-host/3680 "2016-05-09T13:34:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralfhug](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ralfhug](https://forum.mautic.org/u/ralfhug)\
**Post date:** [May 9, 2016, 1:34pm UTC](https://forum.mautic.org/t/move-mautic-to-different-directory-on-same-host/3680/1 "2016-05-09T13:34:56Z")

</div>

Tried to move the Mautic files from domain1 to domain2. Example: [www.domain1.com/mautic](http://www.domain1.com/mautic) to [www.domain2.com/mautic](http://www.domain2.com/mautic) within same host. I updated the local.php file to reflect the paths to mautic. Also cleared cache. Still get a 404 error when I tried to login to admin area again. What did I miss? Where else do I need to change things. Or just reinstall Mautic again?

---

<div class="post-metadata">

**Author:** ![ralfhug](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ralfhug](https://forum.mautic.org/u/ralfhug)\
**Post date:** [May 9, 2016, 1:34pm UTC](https://forum.mautic.org/t/move-mautic-to-different-directory-on-same-host/3680/2 "2016-05-09T13:34:56Z")

</div>

Tried to move the Mautic files from domain1 to domain2. Example: [www.domain1.com/mautic](http://www.domain1.com/mautic) to [www.domain2.com/mautic](http://www.domain2.com/mautic) within same host. I updated the local.php file to reflect the paths to mautic. Also cleared cache. Still get a 404 error when I tried to login to admin area again. What did I miss? Where else do I need to change things. Or just reinstall Mautic again?
