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