Redirect settings

Every redirect has a few settings that determine how requests are forwarded: the redirect type, whether the path and query string are kept, and whether analytics are recorded. This article explains each of them.

Redirect type

  • Permanent (301)
    The default and the right choice for permanent domain moves, site migrations and URL consolidation. A 301 redirect tells browsers and search engines that the page has moved permanently, and the SEO value of the original URL transfers to the destination.
  • Temporary (302)
    Tells browsers and search engines that the page has moved temporarily and the original URL will return. Use it for seasonal campaigns, A/B tests or maintenance pages. Not sure which one to pick? Read 301 vs 302 redirects.
  • Permanent (308) and temporary (307)
    The same as 301 and 302, with one difference: the browser must keep the HTTP method and request body when following the redirect. That matters for POST or PUT requests in API workflows. Only use these when you have a specific reason to. See the MDN documentation on 308 and 307.
  • Frame
    Loads the destination inside an iframe on the source hostname, so the original domain stays in the address bar. We don't recommend it: search engines can't index framed content properly, the URL doesn't update while navigating, and many destinations block framing entirely. You can check whether your destination allows framing with iframetester.com. Available from the Basic plan and up.
  • Meta refresh
    Redirects visitors with an HTML <meta> refresh tag with a zero-second delay, rather than an HTTP status code. Useful when you deliberately don't want a 301 or 302, for example to avoid passing SEO signals. Available from the Basic plan and up.

Path forwarding

With path forwarding enabled, the path of the incoming request is appended to the destination. This is essential during a domain migration, where every page on the old domain should land on the matching page of the new one.

Source:           example.com
Destination:      https://destination.com
Path forwarding:  on

example.com/contact  redirects to  https://destination.com/contact

Combine it with query string forwarding to keep both the path and the query string.

Query string forwarding

With query string forwarding enabled, the query string of the incoming request is kept on the destination.

Source:                   example.com
Destination:              https://destination.com
Query string forwarding:  on

example.com/?page=342  redirects to  https://destination.com/?page=342

If the destination already contains query parameters, both sets are merged. Parameters from the incoming request take precedence over those defined on the destination.

Source:                   example.com
Destination:              https://destination.com/?ref=redirected
Query string forwarding:  on

example.com/?page=342  redirects to  https://destination.com/?page=342&ref=redirected

Tracking

With tracking enabled, we record analytical data for every incoming request. This powers your analytics: hit counts, referrers, countries and more. With tracking disabled, we only store the date and the full URL of the request, so we can count hits for your plan. We never sell or share this data. See our privacy policy for details.

Related guides

More articles

Setup & Configuration
What are these DNS changes?
What DNS types can I use?
How long does the DNS change take?
Troubleshooting new redirects
Redirecting non-www to www
Redirect settings
Matching
Regex matching
Wildcard subdomains
Destination variables
Dynamic destinations
Redirect flattening
SSL profiles
robots.txt
Monitoring redirect.pizza itself
Features
Automatic HTTPS
Automatic DNS
Nameservers
Analytics
Broken destination monitoring
Email forwarding
Pause and resume
Dedicated IP
API
MCP
Zapier
Terraform provider
Security & Account
Team management
Two-factor authentication
SAML SSO
SSO via Okta
Summary email
HSTS (HTTP Strict Transport Security)
Prevent foreign embedding
Web Application Firewall (WAF)
Security & compliance
Subprocessors
Service level agreement (SLA)
Walkthroughs
GoDaddy: Forwarding with HTTPS support
Namecheap: Forwarding with HTTPS support
Cloudflare: Forwarding with HTTPS support
Network Solutions: Forwarding with HTTPS support
Hover: Forwarding with HTTPS support
Amazon Route 53: Forwarding with HTTPS support
Google Cloud DNS: Forwarding with HTTPS support
Azure DNS: Forwarding with HTTPS support
DigitalOcean: Forwarding with HTTPS support
NS1: Forwarding with HTTPS support
DNS Made Easy: Forwarding with HTTPS support
TransIP: Forwarding with HTTPS support
EuroDNS: Forwarding with HTTPS support
Mijndomein: Forwarding with HTTPS support
Freenom: Forwarding with HTTPS support

Domain redirects delivered hassle-free

Get started right away

  • Free plan
  • No creditcard required

redirect.pizza has all your favorite ingredients

Analytics

Who is still visiting those old domains? Gain valuable insight with detailed statistics and find out where the hits are coming from.

Learn more

API/MCP

Connect your software or AI clients to create redirects via our API and MCP. Automation makes your life easier.

Learn more

Destination Variables

You control how we handle your destination URL. Want to include your domain extension as a query string parameter? No problem.

Learn more

Dynamic destinations

Steer your traffic to different destinations, based on rules you define.

Learn more

Path forwarding

Keep the original path and keep it in the destination for a smooth domain migration and keeping your SEO game intact.

Learn more

Query Parameter Forwarding

Forward query parameters found on the source URL to the destination.

Learn more

Multiple Redirect Types

Choose the status code that works for you. Choose 301/307 (permanent), 302/308 (temporary) or frame your destination.

Learn more

Team management

Doing things all by yourself isn't much fun. Invite your co-workers to manage the redirects and work as a team.

Learn more

Automatic DNS

Integrate directly with your DNS provider, and apply the DNS changes from one platform.

Learn more

QR code generator

Create a QR code that you can use for marketing purposes. You can change the destination anytime after printing.

Learn more

Import & Export

Manage your redirects without losing precious time. Import and export redirects in our UX-friendly interface.

Global edge network

Redirecting in a blink of an eye; processing millions of request per hour in milliseconds.

Learn more

Broken destination monitor

Automatically checking your destinations to ensure it's reachable for everyone.

Learn more

Privacy First

We're based in Europe and are fully compliant with GDPR. Privacy-first!

Learn more

Wildcard subdomains

For when your domain utilizes a lot of different subdomains. Cover all subdomains with a single redirect.

Learn more

Tags

Group your redirects by adding tags. Keep everything organized and easy to find.

Bulk actions

Want to apply the same action for multiple redirects in one go? Do yourself a favor and start using bulk actions.

Dark mode

Give your eyes some well deserved rest by using the dark mode. Sync with your system or choose manually.

HSTS

Enable HSTS (HTTP Strict Transport Security) on team or domain level for an extra layer of protection.

Learn more

Change Destination Anytime

Once you're set up, you can change the destination URL anytime you want, and see the change in real-time.

Two-Factor Authentication

Secure your account with TOTP two-factor authentication. Scan the QR code, setup your app of choice, and you're safe(er).

Learn more

IDN Support

Add international hostnames with non-Latin characters. We ❤ that.

Support

Chat away! We're happy to help set up your account and answer your questions.