Referencing CSS, images and other files from parent or subparent directory for a website. #8548
Unanswered
StickyChannel92
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I develop a website on NetBeans, and unfortunately, I run into the error where if I make a child page, such as site.com/blog, my CSS is located in site.com/server/default.css, and the images are stored in site.com/files/images, they throw an ERR_EMPTY_RESPONSE and fail to load properly. I can load these files properly on the live website using the EXACT SAME CODE (stickychannel-92.com/roadstuff), but I cannot do so on NetBeans. The front page loads properly with the JS code from the same server directory, but it doesn't work on child pages.
This works properly on my live website, but not in NetBeans. How come, and how can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions