# Remove Mautic from Root

**URL:** <https://forum.mautic.org/t/remove-mautic-from-root/2462>\
**Category:** Product Support\
**Created:** [October 2, 2015, 8:53pm UTC](https://forum.mautic.org/t/remove-mautic-from-root/2462 "2015-10-02T20:53:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kellidor](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kellidor](https://forum.mautic.org/u/kellidor)\
**Post date:** [October 2, 2015, 8:53pm UTC](https://forum.mautic.org/t/remove-mautic-from-root/2462/1 "2015-10-02T20:53:44Z")

</div>

So… I really thought I installed Mautic to a subfolder but apparently I did not. It installed in my root public\_html. I was able to reinstall elsewhere and get my index file back but now need to do clean up. It is a new site and I unfortunately had not created a backup yet but do not want to lose all the work I have done building it.  
  
  
  
Can someone point me in the direction of where to find documentation on the files that need to be cleaned up or an uninstall?

---

<div class="post-metadata">

**Author:** ![kellidor](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kellidor](https://forum.mautic.org/u/kellidor)\
**Post date:** [October 2, 2015, 8:53pm UTC](https://forum.mautic.org/t/remove-mautic-from-root/2462/2 "2015-10-02T20:53:44Z")

</div>

So… I really thought I installed Mautic to a subfolder but apparently I did not. It installed in my root public\_html. I was able to reinstall elsewhere and get my index file back but now need to do clean up. It is a new site and I unfortunately had not created a backup yet but do not want to lose all the work I have done building it.

Can someone point me in the direction of where to find documentation on the files that need to be cleaned up or an uninstall?

---

<div class="post-metadata">

**Author:** ![tiagorossi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tiagorossi/32/1420_2.png) [@tiagorossi](https://forum.mautic.org/u/tiagorossi)\
**Post date:** [October 3, 2015, 3:47pm UTC](https://forum.mautic.org/t/remove-mautic-from-root/2462/3 "2015-10-03T15:47:49Z")

</div>

Try to download the database and all the Mautic files then search and replace to the new location.

For example, you will open the database file and search for [example.com](http://example.com) and replace for [example.com/mautic](http://example.com/mautic) and also do it to all Mautic files.

You can do it with Dreamweaver or Notepad+.

After download the files make a backup in other folder before start replacement.

After all replacement done delete or move to a backup folder all Mautic files from public\_html and all tables from Mautic database, then upload the new files to [example.com/mautic](http://example.com/mautic) and also import the database file to the database.

Now access your new Mautic url and check.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/remove-mautic-from-root/2462/4 "2020-02-02T22:57:59Z")

</div>


