Answer the question
In order to leave comments, you need to log in
Connecting files on a 404 page relative to the site root?
I created a 404 page, everything works, for example, when I enter the address www.site.ru/asdasd.php . As soon as I add a slash or something else to such an entry, for example www.site.ru/asdasd.php/asd , the connected pictures and style files stop working, since they are connected relative to the site root, and in this case the server is looking for them regarding asdasd.php. I'll never know which way to dig to fix it. Does anyone know how to solve?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question