SEO Nav Menu
URL Redirect Generator

URL Redirect Generator

Redirect Settings

Generated Code

Your redirect code will appear here...
URL Redirect Generator | 301, 302, Meta & JS Redirects by SEOScaleUp
No Signup Required

Generate SEO-Friendly Redirects
In Seconds

The URL Redirect Generator creates 301, 302, meta refresh, and JavaScript redirects instantly. Perfect for site migrations, link management, and server configs (Apache, Nginx, .htaccess).

✅ 100% Free✅ 5 Redirect Types✅ No login✅ Copy code instantly
# Apache .htaccess
Redirect 301 /old-page.html https://example.com/new-page

# Nginx
location /old-page.html {
  return 301 https://example.com/new-page;
}
🔄
301
Permanent
302
Temporary
2M+
Redirects Generated
5
Redirect Types
<1s
Generation Time
100%
Free Forever
4+
Server Formats
SEO Migration Tool

What is the URL Redirect Generator?

When you move or delete pages, broken links destroy SEO and user experience. Our tool generates proper redirect code for any situation — 301 permanent moves, 302 temporary, meta refreshes, and JavaScript redirects.

Stop writing .htaccess rules from memory. Enter source and target URLs, choose your redirect type, and get instant code for Apache, Nginx, HTML, or JavaScript — ready to deploy.

🔄 301 Permanent⏱️ 302 Temporary📄 Meta Refresh💻 JavaScript
🔍
For SEO Specialists
Preserve link equity during site migrations with proper 301 redirects.
⚙️
For Web Developers
Generate server configs for Apache (.htaccess) and Nginx instantly.
URL Redirect Generator dashboard with source/target fields and redirect type selector
Multiple redirect methods

Everything you need for seamless URL management

5 redirect types + 4 output formats — all in one tool.

301 Permanent Redirect

SEO-standard redirect that passes 90-99% of link equity to the new URL.

→ Why matters: Preserve rankings during site migrations or URL changes.

302 Temporary Redirect

Indicates temporary move — search engines keep original URL indexed.

→ Why matters: A/B testing, maintenance pages, or seasonal content.

Meta Refresh Redirect

HTML-based redirect with customizable delay (0-30 seconds).

→ Why matters: Works on any web server, no backend configuration needed.

JavaScript Redirect

Client-side redirect using window.location for dynamic applications.

→ Why matters: Single-page apps, client-side routing, or legacy systems.

Apache .htaccess

Generates Redirect and RewriteRule syntax for Apache servers.

→ Why matters: Deploy redirects instantly on shared hosting or WordPress sites.

Nginx Config

Generates return 301/302 directives for Nginx server blocks.

→ Why matters: High-performance redirects for modern web stacks.
Simple workflow

Create redirects in 3 simple steps

From URLs to deployment-ready code.

1

Enter URLs

Source path and destination URL.

2

Select redirect type

301, 302, meta refresh, or JavaScript.

3

Choose server format

Apache, Nginx, HTML, or raw code.

4

Copy & deploy

One click to clipboard — paste into your config.

Source and target URL input fields
Generated redirect code output
Key advantages

Protect your SEO equity during migrations

Redirects done wrong kill rankings. Do them right.

Preserve Link Equity (PageRank)
301 redirects pass 90-99% of ranking power to new URLs — manual redirects often break this.
Avoid 404 Errors
Dead links frustrate users and hurt SEO. Generate proper redirects before pages go offline.
Save Hours of Config Writing
Stop searching Stack Overflow for .htaccess syntax. Generate correct code instantly.
Multi-Server Support
Apache, Nginx, HTML, JavaScript — one tool covers every environment.
Apache .htaccess redirect code example
Nginx redirect configuration example
Who needs redirects

Essential for SEO & web teams

🔍

SEO Professionals

  • ✓ Migrate entire domains while preserving rankings
  • ✓ Redirect old blog posts to new category pages
  • ✓ Fix broken backlinks with proper 301 redirects
  • ✓ Consolidate duplicate content (www vs non-www)
  • ✓ Implement HTTPS redirects from HTTP
🌐

Web Developers

  • ✓ Generate .htaccess rules for WordPress migrations
  • ✓ Create Nginx redirects for React/Next.js apps
  • ✓ Set up temporary maintenance page redirects
  • ✓ Handle URL structure changes after CMS updates
  • ✓ Implement locale-based redirects (i18n)
📈

Digital Marketers

  • ✓ Redirect expired campaign landing pages
  • ✓ Send traffic from old URLs to current offers
  • ✓ Create vanity URLs that redirect to long links
  • ✓ Manage affiliate link redirects
  • ✓ Track click-throughs with redirect chains
🛒

eCommerce Managers

  • ✓ Redirect discontinued product pages to category pages
  • ✓ Handle seasonal URL changes for holiday promotions
  • ✓ Migrate store platforms (Shopify to Magento, etc.)
  • ✓ Redirect old category URLs after reorganization
  • ✓ Preserve SEO for out-of-stock products
Why SEOScaleUp

Trusted by 50,000+ webmasters

The most comprehensive free redirect generator online.

01

5 redirect types

301, 302, 307, meta refresh, and JavaScript — all in one tool.

02

4 output formats

Apache, Nginx, HTML, and raw code for any platform.

03

SEO best practices

Code follows Google's redirect guidelines for maximum link equity.

Compare

SEOScaleUp vs. alternatives

FeatureSEOScaleUp ✓Manual CodingPremium SEO Tools
301 redirect generation✓ One-click~ Manual syntax✓ Yes
302 redirect support✓ Included~ Manual✓ Yes
Meta refresh with delay✓ Customizable✗ No✓ Yes
JavaScript redirect✓ window.location✗ No✓ Yes
Apache .htaccess output✓ Redirect/ RewriteRule~ Manual✓ Yes
Nginx output✓ return 301/302~ Manual✓ Yes
Bulk redirect generation✓ Planned✗ No✓ Paid only
Redirect chain checker✗ No✗ Manual✓ Yes
Price per month$0 foreverFree (time)$99–$499+
FAQ

Common questions about URL redirects

What's the difference between 301 and 302 redirects?+
301 means "permanently moved" — search engines transfer ranking power to the new URL and update their index. 302 means "temporarily moved" — search engines keep the original URL indexed and don't fully transfer link equity. Use 301 for permanent moves (site migrations, URL changes). Use 302 for temporary situations (A/B tests, maintenance).
Which redirect is best for SEO?+
For permanent URL changes, always use 301 redirects. Google has confirmed that 301 redirects pass nearly all PageRank (link equity) to the destination URL. 302 redirects are for temporary changes and may not preserve rankings.
How do I add a redirect in WordPress?+
Our tool generates .htaccess code that you can paste into your WordPress root directory. Or use a plugin like Redirection. For Apache servers, copy the "Apache .htaccess" output and paste it into your .htaccess file.
What's a meta refresh redirect and when to use it?+
A meta refresh redirect uses HTML meta tags to automatically forward users after a delay. It's not ideal for SEO (slower, can be seen as spammy) but works on any web server without backend access. Use it only when you can't configure server-level redirects.
Do JavaScript redirects hurt SEO?+
Yes, generally. JavaScript redirects are slower and may not be followed by all search engine crawlers (though Google executes JS better now). Always prefer server-level 301 redirects for SEO-critical redirects.
How do I redirect HTTP to HTTPS?+
Enter source "http://example.com/old-page" and target "https://example.com/old-page" (or new page). Select 301 permanent redirect. Our tool will generate the correct code for your server type.
Can I redirect an entire domain to another domain?+
Yes. Enter source as "/" (root) and target as the new domain URL. For Apache, use "Redirect 301 / https://newdomain.com/". Our tool supports domain-level redirects — just use the root path.
What's a redirect chain and why avoid it?+
A redirect chain happens when URL A redirects to B, which redirects to C. Each redirect dilutes link equity and slows page load. Always redirect directly to the final destination URL. Our tool generates single-hop redirects only.
Start Redirecting Now

Generate perfect redirects in seconds — free forever

Join 50,000+ webmasters who use SEOScaleUp for fast, accurate redirect code. No signup, no limits, no tracking.

🔄 301 • 302 • Meta • JS • Apache • Nginx — all free

SEOScaleUp Tools

🚀 SEOScaleUp Tools

All-in-one SEO toolkit to scale your rankings

SEOScaleUp – Nav & Footer