.htaccess redirect: how to write a 301 or 302 redirect in Apache
How to write a 301 or 302 redirect in the .htaccess file, which directive to choose (Redirect, RedirectMatch or RewriteRule), and the common cases: domain change, HTTPS, home page, WordPress.