I have the following routes set up:
/business //look for a business
/business/biz/:id //look at a specific business
What I did is that if someone goes to /business/biz it redirects to /business.
My question is what status code I should use for that?
I don't think it's 301 or 302 because it's not a permanent move, and it's also not temporary, it's just a page that doesn't exist with a consistent redirect to a specific page.
//get /business/biz page
router.get("/biz", (req, res) => {
  res.redirect("/business");
});
I looked at different questions here on Stack Overflow but didn't find a case that matches mine.
 
     
    