# Mautic went down after cache clearing

**URL:** <https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377>\
**Category:** Product Support\
**Created:** [March 30, 2022, 7:50am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377 "2022-03-30T07:50:40Z")\
**Posts on this page:** 5\
**Page:** 2

<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:** [April 8, 2022, 5:46am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377/21 "2022-04-08T05:46:29Z")

</div>

You need to install SSL, I PMd you a tutorial, but there are many on the internet.  
You need to use the one that fits your webserver, and operation system.

---

<div class="post-metadata">

**Author:** ![bekzada](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bekzada/32/7085_2.png) [@bekzada](https://forum.mautic.org/u/bekzada)\
**Post date:** [April 8, 2022, 5:55am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377/22 "2022-04-08T05:55:08Z")

</div>

> [@bekzada](#):
>
> what about 8. I forgot what commands we used to open GNO nano5.4 and why we deleted S and why it caused a problem?

 ![IMG_5423](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8f98f9f08bc7ab86c0eea0f8e9f1c917fce45230.jpeg)

---

<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:** [April 8, 2022, 5:59am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377/23 "2022-04-08T05:59:47Z")

</div>

We opened nano be navigating to the right directory:  
(I think it was)  
`cd /var/www/html/app/config`

then we opened the config file:

`nano local.php`

Saving in nano is happening with:

CTRL + S  
Y  
-ENTER-

---

<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:** [April 8, 2022, 6:02am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377/24 "2022-04-08T06:02:14Z")

</div>

You got the error “too many redirects”.  
The reason was, that your site URL was saved with “https” protocol in front. This is how Mautic calls itself.  
When your visitors opened the page, your webserver directed the traffic to http, but Mautic claimed it is https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https, but your webserver didn’t agree, so redirected to http, but Mautic claimed it’s https…

ERROR

---

<div class="post-metadata">

**Author:** ![bekzada](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bekzada/32/7085_2.png) [@bekzada](https://forum.mautic.org/u/bekzada)\
**Post date:** [April 8, 2022, 6:04am UTC](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377/25 "2022-04-08T06:04:14Z")

</div>

Ohhh thank you for explanation!

[Previous page](https://forum.mautic.org/t/mautic-went-down-after-cache-clearing/23377.md?page=1)
