A
A
andreyqin2014-01-19 16:12:27
htaccess
andreyqin, 2014-01-19 16:12:27

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

1 answer(s)
Y
Yuri Lobanov, 2014-01-19
@andreyqin

Rewrite file addresses, what's the problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question