Best approach to install Mautic in a subfolder

My Mautic version is: v4.4.12

Hi,

I have successfully installed Mautic in a subfolder.

The typical setup is to install it in the root domain, but for my case, I wanted to keep the root domain for the website and set up Mautic in a separate folder.

Root URL: https://www.primeogroup.com/
Sub Folder: …/XXX

To make this possible, I changed the .htaccess file by prepending “XXX”.

<If “%{REQUEST_URI} =~ m#^/XXX/(index|index_dev|upgrade/upgrade).php#”>

It worked cool, but after upgrading Mautic, the .htaccess file gets overridden. So, after each update I need to correct it again.
Do you have a better approach for this specific use case?

Hello, the typical setup is install on a subdomain, not root domain, so you can benefit from the same domain tracking possibilities.

Installation is a folder wouldn’t be a pro approach.

Hi @joeyk,

I considered using subdomains, but I have specific requirements that involve managing multiple and undetermined number of setups, which means I’ll need to handle DNS records frequently. To address this, I plan to set up a wildcard subdomain mechanism with SSL certificates to ensure flexibility.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.