301 redirect format code example Example: redirect htaccess 301 Redirect 301 /pagename.php http://www.domain.com/pagename.html