Error with my styles in React app

Username epiz_26944654, website www.mezzab.com.ar

Error Message

can’t access to https://mezzab.com.ar/static/css/main.97bad5ca.chunk.css, getting a redirect first first, then 404 : failed to load response

Other Information

I’m getting an error when trying to load the stylesheet of my page

Also getting 404 when trying to load .svg files

Try clearing your cache.

Oh, nvm… it gives a 404 for me too.

No, I get the 404 as well. Based off your topic title, please remember this:
Ensuring only web browsers can access your website - Docs - InfinityFree Forum.

That would mean it would give off a 403 and not a 404.

1 Like

I don’t think it is a 404.
It’s a 302 but your file is then redirected to InfinityFree’s 404 page.

I don’t now why that happens, though.

2 Likes

When a website not set with custom errors encounters one, infinityfree automatically redirects it to their error pages.

1 Like

I was able to fix it with related documentation: https://support.infinityfree.net/websites/redirected-to-404-error/

Thanks you all for your help!!

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.