Hello,
A 301 redirect is the HTTP status code for when a page has been moved permanently to a new location or URL.
for example, if we set http:// example. com as our preferred domain, we can set a 301 redirect for http:// w w w.examp le. com, Similarly, we also can do this for ht t p://w w w.example.com/index.htmlExample Domain or w w w.exampl e. com/index.php.
With a 301 redirect, the value of inbound links as well as historic/trust records for one URL will move to the other.A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ is there to imply that ALL qualities of the redirected page will be passed on to the detour page.