Non-existent redirect causes 404

We have here two URLs:

example.php?id=1 and example.php?id=2.

I have here entire script working nicely. Until I noticed that id=1 produces redirect which redirects me to my provider’s “Not Found 404” website.

I placed exit("It's over"); the very first line, before ANYTHING else. There are no inclusions or anything, it’s line number one.

In case of example.php?id=2. The page simply displays, and with added exit(), it says It's over.

But example.php?id=1. Produces Not Found 404, without and WITH exit().

Tell me what you need :slight_smile:

I am no familiar with .htaccess rules, could there be something in there?

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