Practical guideUpdated

How to redirect a webpage (and which method to use)

The best way to redirect a webpage is a server-side permanent redirect, a 301 or 308 status, configured in your web server, hosting platform, or CMS. It sends visitors and search engines to the new URL and passes ranking signals. Use 302 or 307 only for temporary moves. HTML meta refresh and JavaScript redirects work in browsers, but they are slower and weaker signals, so use them only when server rules are impossible.

Redirects are needed when pages move, merge, or change URLs. The method you choose affects speed, user experience, and how search engines transfer signals. This page covers each method with examples and the SEO rules that apply. We use permanent redirects for every page we merge on serionflow.com.

By , Founder, SerionFlow

What we measured ·

What Google shows for "redirect webpage" right now

Method: Live Google results (United States, desktop, English) for "redirect webpage" retrieved through DataForSEO's SERP API on 2026-10-22. Page types are our own classification of each ranking URL.

The top 9 organic results for "redirect webpage" were 2 guides or explainers, 2 forum or community threads, 2 product or service pages, 1 list or comparison, 1 official search-engine documentation, 1 video. The first three were developer.mozilla.org, stackoverflow.com, www.w3schools.com. Community threads (stackoverflow.com, www.reddit.com) ranked on page one, a sign searchers want first-hand answers, not only vendor pages.

Google showed an AI Overview for this query, citing 8 source domains including www.reddit.com, developers.google.com, knowledge.hubspot.com, www.newmediacampaigns.com. Pages that state the answer directly and early are the ones an Overview can quote.

People Also Ask listed: "What happens when a website redirects you?"; "What does a 307 or 308 redirect mean?"; "Can I redirect a URL for free?"; "How do I stop a website from redirecting to another page?". The sections below answer the ones within this page's scope.

Top organic results for "redirect webpage", 2026-10-22
PositionDomainPage type
1developer.mozilla.orgGuide or explainer
2stackoverflow.comForum or community thread
3www.w3schools.comGuide or explainer
4www.reddit.comForum or community thread
5redirect.pizzaProduct or service page
6www.urllo.comList or comparison
01

Choose the redirect type

The status code tells browsers and search engines what the move means.

HTTP redirect status codes
CodeMeaningRequest method kept?Use for
301Moved permanentlyBrowsers may change POST to GETPermanent page moves
308Permanent redirectYesPermanent moves, including form endpoints
302Found (temporary)Browsers may change POST to GETShort-term moves
307Temporary redirectYesShort-term moves preserving the method
02

Server and hosting redirects

On Apache, add a rule to .htaccess such as Redirect 301 /old-page /new-page. On Nginx, use location = /old-page { return 301 /new-page; } in the server block. On Vercel, add an entry to the redirects array in vercel.json with source, destination, and permanent set to true, which returns 308. Netlify uses a _redirects file; Cloudflare offers Redirect Rules. These all respond before any page loads, so they are the fastest option.

03

CMS redirects

WordPress needs a plugin such as Redirection or the redirect manager in an SEO plugin. Webflow has a 301 redirects section in site settings under Publishing. Shopify has URL redirects under Online Store, Navigation. Squarespace and Wix have URL mapping or redirect settings in their SEO panels. Check whether the platform returns 301 or 302; most use 301 for permanent rules.

04

HTML and JavaScript redirects

A meta refresh with a delay of zero, placed in the page head, redirects in the browser, and Google treats an instant meta refresh as a permanent redirect. A JavaScript redirect using window.location.replace also works and Google can follow it after rendering, but it depends on the script running. Use either only when you cannot set server rules, such as on some static hosts, and keep the old page lightweight.

05

SEO rules for redirects

Redirect to the most relevant equivalent page; mass redirects to the homepage can be treated as soft 404s. Avoid chains of several hops by pointing old URLs straight at the final destination. Update internal links and the sitemap to the new URLs rather than relying on redirects. Keep redirects in place for at least a year, and ideally indefinitely for pages with backlinks. Our free broken link checker shows the status codes of links on a page so you can spot redirects and chains. SerionFlow is the wrong tool for redirects on your own site; it does not change server, host, or CMS redirect rules.

Clear answers

Frequently asked questions

What does a 307 or 308 redirect mean?

+

Both preserve the original request method. 307 is temporary and 308 is permanent; for search engines, 308 behaves like 301.

Can I redirect a URL for free?

+

Yes. Server rules, hosting config, and CMS redirect settings are free. Domain registrars often offer free domain forwarding for whole domains.

Do redirects hurt SEO?

+

A single permanent redirect to a relevant page passes ranking signals. Problems come from chains, loops, temporary codes used for permanent moves, and redirects to irrelevant pages.

About the author

· Founder, SerionFlow

Shadrack builds SerionFlow's site research, page generation, and Search Console tooling, and runs the free tools these guides pair with. Search Console figures cited on these pages come from serionflow.com's own property.

Continue exploring

Related SerionFlow resources

More in Guides

All guides

Make the next move obvious

Let SerionFlow turn your market evidence into momentum.

Confirm the market, rank the opportunities that matter, create brand matched pages on your domain, and keep moving with controlled weekly intelligence.

Choose how SerionFlow uses cookies.

Essential cookies keep the site secure and working. Product analytics helps us improve reliability. Optional cookies help us remember preferences and improve campaigns. You can change optional cookies anytime in Cookie Settings.