WebTools

Useful Tools & Utilities to make life easier.

HTACCESS Redirect Generator - Create Redirect Rules for Apache

Generate .htaccess redirect rules for Apache and compatible web servers.

Enter the path of the page you want to redirect from (e.g., /old-page)
Enter the path or URL you want to redirect to (e.g., /new-page or https://example.com/page)
Choose the type of redirect you want to use
Redirect Preview

This redirect will send visitors from:


HTACCESS Redirect Generator - Create Redirect Rules for Apache

Create Redirect Rules Instantly

The HTACCESS Redirect Generator is a free online tool that helps you generate .htaccess redirect rules for your website. .htaccess files are used on Apache and Apache-compatible servers to manage redirections, access control, and SEO-friendly URL handling.

With this tool, you can:

  • Generate 301 (permanent) and 302 (temporary) redirects.
  • Redirect single pages, directories, or entire domains.
  • Create SEO-friendly redirects for site migrations and URL changes.
  • Fix broken links by redirecting old URLs to new ones.
  • Copy and paste ready-to-use .htaccess code directly to your server.

Simply enter your source and target URLs, select the redirect type, and generate the .htaccess file instantly.

Related Tools