Status code 301 (301 redirect)

A status code indicating that a URL has been permanently redirected (or moved) to a new location. This status code is used when a page has been deleted and instead of your visitors getting an error page, they get automatically sent to a new page.

This is the optimal way of redirecting as it passes very high link equity to the redirected page.