I have a problem with one of my php scripts. I've got a file called view.php. If I go to test.com/view?id=7575 it comes up with a 404 error. However if I go to test.com/view.php?id=7575 it works. Why is this?

Recommended Answers

Do you have any rewrite rules setup?

If not, i am not surprised, the page willl need to be called with the file extension

Jump to Post

All 3 Replies

Do you have any rewrite rules setup?

If not, i am not surprised, the page willl need to be called with the file extension

It was some other rules blocking the queries

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.