A 301 redirect using an .htaccess file is an HTTP status code that you create when you want to permanently redirect one URL to another. Like this:For more information, read our full guide to 301 redirects. An .htaccess file is a text file used to configure different aspects of your website. Once you locate the .htaccess file, right-click on it and select “Edit.”Add the redirection rules under the “RewriteEngine On” line. Stay on Top of Redirect IssuesIf you implement 301 redirects using an .htaccess file quite regularly, it’s best to schedule periodic audits in the Site Audit tool.