Mautic Community Forums

Moving mautic folder

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

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”, nor “https://mydomain.loc/mautic/index.php”, nor “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

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

Covered here