Redirect can be of two types Temporary and Permanent, 301 redirect is used for permanent & 302 redirect is used for temporary redirection.
301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently". URL redirection, also called URL forwarding and the very similar technique domain redirection also called domain forwarding, are techniques on the World Wide Web for making a web page available under many URLs.
hello if We add some temporary pages in website for temporary use. than it redirect to that temp page that is 302 . and we use 301 for parmanent redirect.
URL redirection can be., # Permanent - 301 redirection # Temporary - 302 redirection Google accepts 301 redirection and will pass the link juice to redirected site from existing site. 302 redirection, its not appreciated by Google.
302 redirect is temporary redirect which will not preserve all your SEO efferts 301 is permanent redirect which will preserve all its rank privileges