Latest SEO Guides
In-depth guides and tutorials to help you master SEO tools and techniques
Generate permanent 301 redirects for Apache (.htaccess) or Nginx servers. Preserve link juice and ensure users find your new pages seamlessly.
Guide sections for better results.
SEO Utility100% Free
No signup, no limits, no hidden costs
Privacy First
All processing happens in your browser
Instant Results
No waiting, no server processing needed
Generate production-ready 301 redirects across Apache, Nginx, PHP, HTML, and JavaScript. Real-time validation, circular redirect detection, and visual flow mapping included.
Add source and destination pairs. Status defaults to 301.
No issues detected. Redirects look good.
Visualize chains and potential loops. Red highlights indicate cycles.
In-depth guides and tutorials to help you master SEO tools and techniques
When you move or rename a page, a 301 redirect tells search engines the content has permanently moved to a new URL. This preserves the SEO authority (link juice) you've built over time. The 301 Redirect Generator creates server-ready redirect rules for both Apache (.htaccess) and Nginx configurations. Enter your old and new URLs, select your server type, and get copy-paste-ready code.
The tool takes your source and destination URLs and generates the correct redirect syntax for your server environment. For Apache, it produces RewriteRule directives with proper flags. For Nginx, it creates return 301 statements. It handles trailing slashes, query parameters, and domain changes, and warns about potential redirect loops.
Broken links and missing redirects create 404 errors that frustrate users and waste crawl budget. When a page moves without a 301, search engines treat the new URL as a separate page, splitting authority between old and new URLs. A proper 301 redirect consolidates signals, maintains rankings, and ensures users always reach the correct content.
1) Fill the form inputs: - Old URL: e.g., /old-page - New URL: e.g., /new-page 2) Click "Generate Code" to process the inputs. 3) Review the Output panel. Copy or download results as needed.
Step 1: Enter old url
Pro tip: Use specific, audience‑aware phrasing (e.g., /old-page).
Step 2: Enter new url
Pro tip: Use specific, audience‑aware phrasing (e.g., /new-page).
Step 3: Click Generate Code
Pro tip: Keep inputs focused; iterate quickly for improvements.
Step 4: Review the output
Pro tip: Edit lightly to match brand voice and intent.
A 301 redirect is a permanent redirect from one URL to another. It tells search engines the content has moved permanently and transfers link equity from the old URL to the new one.
Yes. Google confirms that 301 redirects pass PageRank (link equity) from the old URL to the new one. This is why 301s are essential for URL migrations.
A 301 is permanent — use it when content has moved for good. A 302 is temporary — use it when content will return to the original URL. Using the wrong type can confuse crawlers.
Use a server-level redirect rule that matches all URLs on the old domain and forwards them to the equivalent pages on the new domain. Our generator handles this for both Apache and Nginx.
Yes. Redirect chains (A → B → C) waste crawl budget and slow page loads. Redirect directly to the final URL. Google recommends keeping chains to 5 hops or fewer.
1) Fill the form inputs: - Old URL: e.g., /old-page - New URL: e.g., /new-page 2) Click "Generate Code" to process the inputs. 3) Review the Output panel. Copy or download results as needed.
Yes, it is free to use with no login. All processing happens in your browser.
Yes. The UI is mobile‑friendly and supports touch and keyboard.
It is fast, simple, and focused on clear, reusable outputs with basic SEO guardrails.
Outputs reflect your inputs and templates. Review and edit for brand voice and specificity.
Yes. Provide context in inputs; adjust wording after generation as needed.
Yes. Processing is local to your browser; we do not store inputs or outputs.
Yes. Use the Download button to save outputs for reuse.
Apache .htaccess Output:
RewriteEngine On
RewriteRule ^old-page$ /new-page [R=301,L]
Nginx Output:
location = /old-page {
return 301 /new-page;
}
Domain Change Output (Apache):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^old-domain.com$ [NC]
RewriteRule ^(.*)$ https://new-domain.com/$1 [R=301,L]Explore more tools in the same category to build a complete SEO workflow: