Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent 404 Error

Status
Not open for further replies.

W0nkey

Programmer
Jul 16, 2004
6
GB
I have written a php cms that allows users to create a virtual name for each menu entry eg. home.html instead of things like index.php?page=1. The ErrorDocument is then pointing to a php script which is responsible for finding the correct content and presenting it to the user. I noticed the 404 error is actually being sent to the client, followed by the correct content. It doesn't appear to cause any problems, but is there anyway I can prevent this 404 being sent? Or, perhaps I need to look at a different url rewriting scheme ...

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top