After deleting/changing a specific CSS part ERR_TOO_MANY_REDIRECTS occurs

A few days back I added a overlaying gradient effect to one of my pages. I wrote it directly between two <style> tags for testing into my index.php. Now I wanted to copy it into my .css file but whenever I delete or change the following part from my file the site is not accessible anymore because of an ERR_TOO_MANY_REDIRECTS error.

enter image description here

What I’ve done so far:

  • deleted every browser data, even manually for several times now
  • allowed third party cookies
  • private mode
  • read a lot of different threads about the error
  • restarted my PC, apache, nearly everything

But nothing works and now I’m very suspicious what causes this weird problem. I tried to access the site from another machine with Chrome and Edge. Same issue. When I copy back the CSS part shown above, everything works fine.
The console shows the following:

enter image description here

Could there be a -maybe- caching problem with apache? I’m very confused at the moment. Never though a CSS definition can affect a site in that way.

Does anyone have any idea or keywords for me? Thank you in advance!


Source: html

Leave a Reply