Redirects
A redirect sends visitors from one address to another. For example, if you moved a page, a redirect makes the old link still work by sending people to the new page.
Redirects are the easiest kind of rule.
When to use a redirect
Section titled “When to use a redirect”- You moved or renamed a page and don’t want old links to break.
- You want
www.example.comandexample.comto land on the same place. - You want everyone on
http://to switch to the securehttps://. - You’re running a short link that should point somewhere else.
Create a redirect
Section titled “Create a redirect”- Go to Rules → Add Rule → Redirect.
- Set the When (which address to match). For example:
/old-pageto match a single old page.
- Set the Then (where to send the visitor). For example:
https://example.com/new-page.
- Pick the redirect type (see below).
- Save.
Temporary vs. permanent
Section titled “Temporary vs. permanent”When you make a redirect, you choose how “final” it is:
- Permanent (301): The page has moved for good. Use this when you’ve permanently changed an address. Search engines update their links.
- Temporary (302): The change is just for now. Use this for short-term redirects, like during a sale or maintenance.
Common examples
Section titled “Common examples”Force the secure site (http → https):
- When: any
http://request - Then: the same address on
https:// - Type: Permanent
Send www to the plain domain:
- When:
www.example.com - Then:
example.com - Type: Permanent
Old page to new page:
- When:
/about-us - Then:
/about - Type: Permanent
Common questions
Section titled “Common questions”My redirect loops forever / shows an error. This usually means the When and the Then point at each other. Make sure the destination doesn’t also match the condition.
I changed a redirect but still see the old behavior. Browsers remember permanent redirects. Try a private/incognito window to test, or clear your browser history.