title: Redirect to landing page if page is 500 internal server error
body: <p>I have an issue while google indexed my old URL where it doesn't longer exist, when someone clicked on the old link from Google search, there will shown <strong>500 server error</strong> in product page.</p>
  
  <p>My old URL for product page is <code>mydomain.com/item/item-name</code>, which recently I was re-built a new rewrite rules in .htaccess to <code>mydomain.com/product/item-name</code> for SEO wise, I want my old URL at least can redirect to my landing page instead of display an error for the visitor that could build bad impression for my site.</p>
  
  <p>How can I solve this issue? </p>