A 301 redirect refers to the HTTP status code that is returned when a HTTP request for a specific resourse is redirected. Here we take a look at the difference between 301 and 302 redirects and show a simple way to implement a 301 redirect using the Apache server's virtual hosts directive.

Filed under: web