.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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -