Create and manage redirects
Send visitors from an old address to a new URL with a permanent or temporary redirect.
Where Websites โ your website โ Advanced โ Redirects
What this is for
- Choose a 301 or 302 redirect.
- Redirect a domain or specific path.
- Prevent loops and unintended destinations.
Before you start
- Write down the exact old address and full destination address, including https://.
- Choose 301 only for a genuinely permanent move; otherwise use 302.
Take care
A broad redirect can hide an application problem or create a loop. Test both HTTP and HTTPS variants.
Steps
-
1
Open Websites, select the correct website, press Advanced across the top, choose Redirects and then select Add redirect.
-
2
In Status, choose 301 for a permanent move or 302 for a temporary destination.
-
3
Confirm the disabled Domain box shows the source domain you intend to redirect.
-
4
In Slug, enter only the part after the domain, without the leading slash. Leave it empty only when the whole domain should redirect.
-
5
Choose http:// or https:// beside Destination URL, then enter the complete destination host and path in the box to its right.
-
6
Select Add, wait for the redirect row to appear, and test the old address in a private browser window.
-
7
Check for redirect loops and confirm query strings behave as the application expects.
Check it worked
- Opening the source in a private window lands on the intended destination.
- Test with and without a trailing slash and confirm the redirect does not repeat in a loop.
What the controls do
| Control | What it means |
|---|---|
| 301 | Permanent redirect; search engines normally transfer indexing signals. |
| 302 | Temporary redirect; use when the original URL will return. |
| Slug / path | The optional path below the selected source domain. |