Cotonti / Cotonti

Fast, reliable and flexible PHP CMF/CMS
https://www.cotonti.com
BSD 3-Clause "New" or "Revised" License
92 stars 51 forks source link

Correct HTTP response codes #473

Closed trustmaster closed 13 years ago

trustmaster commented 13 years ago

Currently Cotonti responds 200 OK for all requests. But this is not correct, in some cases it should give different response codes to be treated right by search engines and other software. For example, it should give 404 if item was not found and redirect pages should give 301/302/303.

trustmaster commented 13 years ago

Done by r1384