Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How To Set Up Redirection In xCloud

Setting up redirects helps manage site changes efficiently by directing old URLs to new ones, maintaining SEO ranking, and ensuring a seamless user experience. Redirects also preserve backlinks, preventing broken links, and guiding visitors to relevant content.

With xCloud, you can set up redirection for your website and forward traffic from one URL to another URL. This prevents traffic loss and site downtime if you move your business to a new website or particular page to a new permalink/slug. Follow this step-by-step guide below to learn how to set up redirection in xCloud.

Set Up Redirection In xCloud #

xCloud offers two redirect types: 301 and 302. A 301 redirect is permanent, informing search engines to update their indexes, but a 302 redirect is temporary, suggesting that content may return to its original URL later.

Step 1: Access Your Site In xCloud #

Log in to xCloud and click on your site, where you want to set up redirection, from the โ€˜Sitesโ€™ tab.

Set Up Redirection

Navigate to the โ€˜Domain –> Redirectionโ€™ tab from the left panel.

Set Up Redirection

Step 2: Set Up Redirection For Your Site #

On the โ€˜Redirectionโ€™ tab, you will see your domain name by default. Now, select your Redirect Type (301 or 302), and input โ€˜From URLโ€™ and โ€˜To URLโ€™.

Select 301 as โ€˜Redirect Typeโ€™ if you want to forward the old URL to a new one. For example, your website has a career page where you want to post jobs. Previously the URL for the career page was (Sample URL: yourownwebsite.com/career). Now, you have changed the career page URL to a new one which is (Sample URL: yourownwebsite.com/jobs).

You want to no longer use the URL with โ€˜careerโ€™ as the slug. But all of the visitors of your website might not know yet that you have changed the career page to a new URL with the slug โ€˜jobsโ€™. If you do not use a 301-type redirect, you might lose some potential traffic to your website.

To use a 301 redirect type, select the Redirect Type as 301, set the From URL as โ€œ/careerโ€, and the To URL as โ€œ/jobsโ€. Then, hit the โ€˜Add Redirectionโ€™ button. This will redirect the old URL visitors to the new URL.

Set Up Redirection

Also, you can choose to use the โ€˜302 – Temporaryโ€™ redirect type for a temporary use, which you may change later. For example, your business often offers deals and special discounts on particular occasions, such as Black Friday. In that season, you may want to use a temporary 302 redirect, so all of the visitors are automatically redirected to the โ€˜Black Fridayโ€™ deals page when they are attempting to visit the โ€˜offersโ€™ page. After the deal ends, you would want to change the redirection and deactivate the โ€˜Black Fridayโ€™ page.

In that case, choose 302 redirects, set the From URL as โ€˜/offerโ€™ and the To URL as “/blackfridayโ€. Once done, hit the โ€˜Add Redirectionโ€™ button.

Set Up Redirection

Your redirects will be added instantly. You can add multiple redirects for a single domain. All of the redirects will be listed as shown below.

Set Up Redirection

If you want to edit or delete a redirect, simply use the โ€˜Editโ€™ or โ€˜Deleteโ€™ button near to the โ€˜Actionโ€™ column. If you want to attempt to delete a redirect, you will get a warning message.

Set Up Redirection

However, you can also choose to update your redirects. Once done, hit the โ€˜Updateโ€™ button.

Set Up Redirection

Once you are done with the redirection process, you need to keep in mind that when you are searching with the URL, you can not add the first โ€˜/โ€™ before the URLโ€™s start, rather you have to add it at the end of the URL. Otherwise, the redirection URL will not work.

Set Up Redirection

Redirect Regular Expressions #

A regular expression (regex) in redirection matches multiple URLs and extracts information from the source to copy into the target URL.

You can also add regular expressions for redirection rules in xCloud. Here is an example:

Set Up Redirection

From: “^/members/(.*)$”
To: “/$1”

This regex rule redirects URLs like “clickfordiscount.com/members/somepage” to “clickfordiscount.com/somepage” by capturing the portion after “/members/” and appending it to the target URL. In regex, “.” denotes any character, and “*” indicates any number of occurrences of the preceding expression. In the redirection rule, “$1” captures the text matched by “(.*)” in the regex pattern, representing the first captured group to be used in the target URL.

Thatโ€™s how easily you can set up redirection in xCloud.

Still stuck? Contact our support team for any of your queries.

What are your feelings
Updated on August 22, 2024

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00