# Landing Page Replacing Root Page

**URL:** <https://forum.mautic.org/t/landing-page-replacing-root-page/16287>\
**Category:** Product Support\
**Created:** [September 26, 2020, 9:18am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287 "2020-09-26T09:18:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 26, 2020, 9:18am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/1 "2020-09-26T09:18:09Z")

</div>

**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](https://domain.com). So when I go to [https://domain.com](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](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](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:

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 26, 2020, 2:18pm UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/2 "2020-09-26T14:18:38Z")

</div>

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 🙂  
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

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 27, 2020, 4:51am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/3 "2020-09-27T04:51:43Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/cdcf79d803a79151d090aea5d3876076e0b8769f.png)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 27, 2020, 8:47am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/4 "2020-09-27T08:47:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [September 28, 2020, 9:49am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/5 "2020-09-28T09:49:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 29, 2020, 4:46am UTC](https://forum.mautic.org/t/landing-page-replacing-root-page/16287/6 "2020-09-29T04:46:31Z")

</div>

Hi @ekke

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