Answer the question
In order to leave comments, you need to log in
Why is the redirect not working on my site?
Wrote the site smorch.idhost.kz. There, in the main page after authorizations, header("Location: ./"); should have been earned. and the same page should open. But it does not work on hosting. On the local server, Denver, it works fine. During authorizations, the site must connect to the database. Maybe this is the whole point, I just don’t understand, before, if I remember correctly, I worked. For authorizations, you can use these data: group: 9, password: 9. Registration does not work in the same way.
Answer the question
In order to leave comments, you need to log in
It seems in header("Location: ./"); extra point
try
header("Location: /");
which would translate to the root of the site, but
header("Location: smorch.idhost.kz");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question