mardi 25 février 2020

php redirect if statement with multiple links and page check [duplicate]

I want to add an if statement if link1.com shows error 404 to redirect to another link.

header("Location: https://link1.com/");
die();

Aucun commentaire:

Enregistrer un commentaire