.htaccess - write htaccess to dynamic generate id core php -


i doing 1 project in core php, , have url theese www.domainanme.com?proid=125&name=some_name. how redirect 404 page error. if delete id 125(in admin panel) still shows page without contents. can me how write htaccess redirect 404 error page.

i think should check in php if item exist , if not - redirect 404 page. apache doesn't know code , think return page 200 http response code , in case apache think right , show empty page.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -