.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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World