Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  DirectAdmin  >  How to Add a Site Redirect in DirectAdmin?
Top Scroll

How to Add a Site Redirect in DirectAdmin?

 3 min

Watch this video for a step by step process on how to Add a Site Redirect in DirectAdmin

With a site redirection, URLs will be redirected from one folder to another folder/domain. For example, redirect http://domain.com/test1 to http://domain.com/test2

1. Login to your DirectAdmin account.

2. Go to Account Manager and click on Site Redirection.

3. Click on the Create New Redirect button.

4. The Add New Redirect window will get displayed. In this window, you need to fill the below fields:

  • Local URL Path – Here you will need to add the path that will be redirected. The path can be for a file or a directory.
  • Redirect Type – You can select one from three options here: 301 Permanent, 302 Temporary or 303 Replaced.
  • Destination URL – It is the new or destination URL.

5. Here we have redirected the hostingideas.in to hostingideas.in/blog. After filling all these fields, click on the Create button.

6. You will get a message as Redirect Added and also, see the redirect in your Site Redirects window as below:

7. Now for testing the new redirect in your web browser. Here we browsed http://hostingideas.in and it got redirected to hostingideas.in/blog. The blog folder content gets displayed.

You can add a site redirect in DirectAdmin by following the above steps.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.