Error 502 on PHP header function

Everything was fine, but suddenly, I’m getting error 502 in a blank page (which is caused by Cloudflare) wherever I try to use PHP header function to redirect or something…

Please help me.

Here’s a URL for a PHP page a just contains this code: <?php header("Location: [https://google.com](https://google.com/)"); ?>
https://suppotech.de/neten/s2.php

Any solutions?

Hey there!

Sorry about the issues you’re facing.

5xx errors are due to origin issues. Have you checked your server logs for these requests? At this time, that URL is returning a 404 for me.

If you open a ticket, we’ll be glad to take a look. Please post the Ticket # here, so we can track it.

Hi @osma1482013, your topic has a solution here.

Let us know what you think of the solution by logging in and give it a :+1: or :-1:.


Solutions help the person that asked the question and anyone else that sees the answer later. Login to tell us what you think of the solution with a :+1: or :-1:.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.