Landing Page Replacing Root Page

Your software
My Mautic version is: 3.10
My PHP version is: 7.2

Your problem
My problem is:
Not really a problem, but rather a challenge (one I expect @joeyk might be able to solve).

I would like to create a landing page for a domain that is running mautic, but for the landing page url to replace the base login of Mautic.

So example I have mautic 3 install on https://domain.com. So when I go to https://domain.com I get the Mautic login.

I go and create landing page and get the new url for the page https://domain.com/new_test.

What I would like is for the page new_test to redirect to base url and if someone goes to https://domain.com they see the landing page and not the login page for Mautic.

Then to have a way to get to mautic login.

These errors are showing in the log:

Steps I have tried to fix the problem:

Hey Mike,
Not sure I can solve this, this is an apache and htaccess config question.

If you want your Mautic to be in a subfolder, than move to a subfolder :slight_smile:
But then you can’t go out from that subfolder without fiddling with the htaccess / apache settings. Basically you’d need to mask your landing page url as another url.
Not my experies.
Good luck,
J

Thanks Joey, that is what I thought when I wrote the post.

After getting your message, my partner actually found that Mautic has a feature exactly for this. In settings -> Configurations there is a flag for “Mautics root url”. here you can actually set the root url to any landing page.

1 Like

Nice trick :slight_smile: thanks for the heads up, I’m glad you shared it

you can actually redirect to an external URL this way - i.e. to your regular homepage (which is what most people would want)

Hi @ekke

Would you do this in the head of a normal html page or is this something that can be set in configuration ?