Every answer of a website carries such a number. 301 says that the page now lives at a new address. Browsers and search engines remember this. 410 says that the page was removed on purpose and will not come back. When you create a redirect, 301 is preselected. The status code is part of the HTTP protocol.