Online .htaccess Redirect Generator
Generate Apache .htaccess redirect rules from old URL and new URL. Choose 301 (permanent) or 302 (temporary).
Frequently Asked Questions
- What is the difference between 301 and 302?
- 301 means permanent redirect (SEO value passes to new URL). 302 means temporary (search engines may keep the old URL).
- Where do I put the rule?
- Add the line to your site's .htaccess file in the document root, or in the directory that should apply the redirect.
Related SEO Tools
Meta Description Generator
Generate SEO meta descriptions for your pages. Optimize length and keywords for search results.
UTM Builder
Build UTM-tagged URLs for campaign tracking. Add source, medium, campaign, term, and content parameters.
Google SERP Preview Optimization Tool
Preview how your title and meta description will appear in Google search results (~60 / ~160 chars).
Keyword Density Checker
Check keyword density: enter text and a keyword to see count, occurrences, and density (count/total words × 100).
Open Graph Generator
Generate Open Graph meta tags (og:title, og:description, og:image, etc.) as HTML or JSON.
Robots.txt Generator
Generate robots.txt content for your domain. Set User-agent rules and Allow/Disallow paths for search engine crawlers.