.htaccess Redirect Generator
Generate Apache .htaccess redirect rules for 301, 302, and rewrite configurations.
Redirect 301 /old-page /new-page
1 redirect rule
How to Use .htaccess Redirect Generator
- 1
Enter the old URL
Type the source URL path you want to redirect from.
- 2
Enter the new URL
Type the destination URL path to redirect to.
- 3
Select redirect type
Choose 301 permanent or 302 temporary redirect.
- 4
Copy the rule
Click copy to grab the .htaccess redirect rule.
Related Tools
File Size Calculator & Converter
Convert between bytes, KB, MB, GB, and TB with precise binary and decimal calculations.
Image EXIF / Metadata Viewer
View and inspect EXIF data, GPS coordinates, camera settings, and metadata from images.
CSV Viewer & Editor
Open, view, and edit CSV files in a spreadsheet-style table with sorting and filtering.
JSON Tree Viewer
Visualize JSON data as a collapsible tree with syntax highlighting and search.
Barcode Generator
Generate Code 128, EAN, UPC, and other barcode formats with customizable size and labels.
Data URL / Base64 Image Converter
Convert images to Base64 data URLs and decode Base64 strings back to images.