Landing Pages Public URL

Does somebody know how to make a landing page public and short without the p/page/$id$:$alias$?



For example: https://www.example.com/mautic/p/page/1:test



Is it possible that you link the 1:test to a root of a domain?

Example: http://www.test.com

Also vote that it:

:wink:

Does somebody know how to make a landing page public and short without the p/page/$id$:$alias$?

For example: https://www.example.com/mautic/p/page/1:test

Is it possible that you link the 1:test to a root of a domain?
Example: http://www.test.com

Hi Nick,

You’d probably have to use a custom .htaccess rewrite rule. I’m no expert in rewrite rules so maybe Google can help.

Thanks,
Alan

Thanks for the quick answer.
Does somebody has an example or sollution?

Best I can tell from some trial and error is that you can do a 301 redirect to the matic landing page from another page. However, you can’t do a url write where the user’s browser bar still shows the other url because mautic has no clue what page you were requesting.

# Doesn't seem to work - Mautic 404 page
RewriteEngine On
RewriteBase /
RewriteRule ^test$ /mautic/p/page/1:test  [L]

Results in Mautic 404 page.

# URL changes in browser but it works.
RewriteEngine On
RewriteBase /
RewriteRule ^test$ /mautic/p/page/1:test  [R=301,L]

http://www.example.com/test will redirect to landing page test.

This doesn’t exactly answer your question but it may help point you in the correct direction.

Thanks for all the input, I hope somebody will come soon with a working example.
Would be really nice that we can couple a domain to a specific mautic landing page.

Kind Regards

Hi,

Not sure if it’ll help or not but with RC2 released yesterday, you can set a custom landing page as the root of Mautic via the Configuration.

For example, you can set http://your-domain.com to point to any landing page while the rest of Mautic is accessible at http://your-domain.com/s/

Thanks!
Alan

Hi Alan,

I’m eager to try, uploading mautic RC2 right now.
Would be cool if Mautic was available in Installatron.

Kind Regards

Nick Geoffroy

Hi Nick,

By available in installation, do you mean upgrading through Mautic itself? If so, take a peak at the announcement for RC2 which includes a link to RC1 and instructions on how to upgrade within Mautic.

Thanks!
Alan

Hi Alan,

Check below url
Installatron

Kind Regards

Nick Geoffroy