# Mautic generates non-https urls for my landing pages

**URL:** <https://forum.mautic.org/t/mautic-generates-non-https-urls-for-my-landing-pages/33592>\
**Category:** Product Support\
**Created:** [September 24, 2024, 6:30pm UTC](https://forum.mautic.org/t/mautic-generates-non-https-urls-for-my-landing-pages/33592 "2024-09-24T18:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [September 25, 2024, 8:17am UTC](https://forum.mautic.org/t/mautic-generates-non-https-urls-for-my-landing-pages/33592/6 "2024-09-25T08:17:02Z")

</div>

Well, it seems I got my solution from [this thread](https://forum.mautic.org/t/udate-to-4-2-runs-into-err-too-many-redirects/23277/4), I just had to add `$_SERVER['HTTPS'] = 'on'` at the beginning of `index.php` and both problems got solved in one shot 🙂

---

_[View the full topic](https://forum.mautic.org/t/mautic-generates-non-https-urls-for-my-landing-pages/33592)._
