.htaccess Redirect Generator
Generate Apache configuration rules for redirects, security, and canonicalization.
General Settings
301 Redirects
What is .htaccess?
The .htaccess (Hypertext Access) file is a configuration file used by Apache-based web servers. It allows you to manage server behavior on a per-directory basis, such as handling redirects, password protection, and custom error pages.
Why use 301 Redirects?
A 301 Redirect is a permanent redirect. It tells search engines that a page has moved permanently to a new location. This transfers 90-99% of "link juice" (ranking power) to the redirected page, crucial for maintaining SEO rankings during site migrations.