Why you need 301 redirect 301 HTTP status code shows when a page permanently redirects to another page. This is the best method to retain your current search engine ranking. How to setup 301 redirect Apache (.htaccess ) RedirectPermanent /old-url.html http://www.example.com/new-url.html ASP (IIS / Windows) <%@ Language=”VBScript” %> <% Response.Status=”301 Moved Permanently” Response.AddHeader “Location”, “http://www.example.com/new-url.html”