I have two pages, 403.html and 404.html, both of which need to load the same style.css file. Strangely, when I visit the 403.html page, the CSS loads perfectly fine. However, when I navigate to the 404.html page, even though it has identical code with only minor text changes, the CSS fails to load and the page appears as plain text. Both pages have the same path to the CSS file. Can anyone explain why this is happening?
Here is the structure of my folders:
|-errors
| 404.html
| 403.html
|-- css
| style.css
| style-mobile.css
| etc...
|-site1
|-site2
The addresses of the pages are as follows: 79.143.188.169 will take you to the 403.html page. 79.143.188.169/test will take you to the 404.html page.