A 301 redirect indicates that a page has moved permanently to a new URL; in contrast, a 302 redirect states that the page has moved to a new location but that it is just temporary. You should use the redirects accordingly as misplacing them against each other could cause trouble for your website.