URL redirects apply to your Box's displayed domain.
You can use them to redirect individual pages or URL paths, either to another page on your website or to an external website.
If you want to connect and redirect an entire domain instead, follow our guide on connecting more than one domain to your Box.
When should I use a 301 redirect?
A 301 redirect is permanent. Use it when a URL has been permanently replaced by another URL.
Typical use cases include:
You've changed the URL of an existing page.
You've updated your website's URL structure and want to redirect old URLs to their new locations.
You've permanently moved content to another URL.
Example: Your previous page /old-page is now available at /new-page. A 301 redirect permanently sends visitors from the old URL to the new one.
Search engines interpret a 301 redirect as a signal that the content has moved permanently.
When should I use a 302 redirect?
A 302 redirect is temporary. Use it when you only want to redirect a URL for a limited time.
Typical use cases include:
You temporarily want to send visitors to a promotional landing page.
A particular page is temporarily unavailable.
You need a temporary redirect before making the original page available again.
Example: During a limited-time promotion, you temporarily redirect your homepage to a special offer page.
A 302 redirect tells search engines that the redirect is intended to be temporary.
301 or 302 – which redirect should I choose?
301: Use it when the original URL has been permanently replaced.
302: Use it when the redirect is only temporary.
If you plan to use the original URL again, a 302 redirect is generally the better choice.
How do I set up a URL redirect in the Raidboxes Dashboard?
You can create and manage redirects directly in your Box settings.
Open the relevant Box in your Raidboxes Dashboard.
Go to the Settings tab.
Open the Forwards (Redirects) section in the left-hand menu.
Select URL redirects.
Click Add redirect to create a new rule.
Enter the Source, Destination and Redirect type.
Enable Regular expression if needed.
Click Save to apply the redirect.
What values do I need to enter for a redirect?
When creating a URL redirect, you'll see four fields:
Source: The URL path visitors should be redirected from.
Destination: The URL or path visitors should be redirected to.
Type: Choose between
301(permanent) and302(temporary).Regular expression: Specify whether the source should be interpreted as a regular expression (Regex).
The entries refer to your Box's displayed domain.
How do I create an internal redirect?
If you want to redirect visitors to another page on the same website, you only need to enter the URL paths. There's no need to include the full domain.
Example: Permanently redirect your homepage to another page
Field | Value |
Source |
|
Destination |
|
Type |
|
Regular expression |
|
Anyone visiting your homepage will be redirected to the /products page.
For internal redirects, enter only the path – not the full URL.
Correct:
/productsNot required:
https://example.com/products
This applies to both source and destination when they refer to the same displayed domain.
How do I redirect to an external website?
If you want to redirect visitors to a different domain, enter the full destination URL, including https://, in the Destination field.
Example: Temporarily redirect your homepage to an external website
Field | Value |
Source |
|
Destination |
|
Type |
|
Regular expression |
|
Visitors opening your homepage will temporarily be redirected to the specified external website.
When do I need regular expressions (Regex)?
With regular expressions (Regex), you can create redirect rules that match multiple URLs based on a pattern.
This is useful, for example, when you want to redirect a large number of URLs following a specific structure.
You don't need this feature when redirecting a single URL. In that case, leave the Regular expression option set to Off.
If you want to use Regex, enable the option and enter your matching pattern in the Source field.
Test regular expressions before using them
You can use the free tool regex101 to create and test regular expressions.
Afterward, check the actual redirects on your website to make sure the rule matches the intended URLs and doesn't cause unexpected redirects.
How long does it take for a redirect to become active?
After saving a redirect, it may take up to 5 minutes for the rule to become active.
Once the redirect is active, open the original URL in your browser and check whether it takes you to the intended destination.
Avoid creating redirect loops.
A redirect loop can occur, for example, when URL A redirects to URL B and URL B redirects back to URL A.
When setting up multiple redirects or Regex rules, make sure they don't conflict with each other.
What can I do if my redirect isn't working?
If your redirect doesn't work as expected, check the following:
Activation time: Have you waited at least 5 minutes after saving the redirect?
Source and destination: Are the URL paths correct? External destinations must include the full URL.
Redirect type: Have you selected the intended type,
301or302?Regex: Is the option enabled only when you're actually using a regular expression?
Existing redirects: Are there other rules affecting the same URL or causing a redirect loop?
Are you also using redirects in an .htaccess file?
On Boxes running Raidboxes 2.0, redirects configured in the Dashboard take priority over redirects defined in the .htaccess file.
For more information, see Using the .htaccess file in WordPress.



