# Moving mautic folder

**URL:** <https://forum.mautic.org/t/moving-mautic-folder/21056>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [September 28, 2021, 3:38pm UTC](https://forum.mautic.org/t/moving-mautic-folder/21056 "2021-09-28T15:38:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DLSobol](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dlsobol/32/5882_2.png) [@DLSobol](https://forum.mautic.org/u/DLSobol)\
**Post date:** [September 28, 2021, 3:38pm UTC](https://forum.mautic.org/t/moving-mautic-folder/21056/1 "2021-09-28T15:38:20Z")

</div>

My Mautic version is: 4.0.0  
My PHP version is: 7.4

I moved mautic folder to another place and mautic stopped to work

After installation it was at folder  
/var/www/html  
and was avaible on:  
[https://mydomain.loc](https://mydomain.loc)

When I’ve moved it to  
/var/www/html/mautic  
… it stoped to work with an error message “The site is currently offline…”  
Not “[https://mydomain.loc/mautic](https://mydomain.loc/mautic)”, nor “[https://mydomain.loc/mautic/index.php](https://mydomain.loc/mautic/index.php)”, nor “[https://mydomain.loc/s/login](https://mydomain.loc/s/login)”, nor other link could get it working

I did’n want to re-install the program again and I’ve done this:  
open  
/var/www/html/mautic/app/config/local.php (your path may differ of course)  
and find all the lines containing  
/var/www/html/…  
and edit them to:  
/var/www/html/mautic/…  
I found 6 such lines.

After that mautic works properly and available at [https://mydomain.loc/mautic](https://mydomain.loc/mautic)

May be it will be useful for somebody… At this forum I couldn’t find the solution

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [September 28, 2021, 9:44pm UTC](https://forum.mautic.org/t/moving-mautic-folder/21056/2 "2021-09-28T21:44:14Z")

</div>

Covered here

> [@Migrate to another server](https://forum.mautic.org/t/migrate-to-another-server/21044/2):
>
> Look at the local.php file to update all the URLS. Cache,Logs ect. Then clear the cache and verify file permissions are correct.
