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.
![How to Add a Site Redirect in DirectAdmin? 1 site redirection min 1024x134 1](https://visualwebtechnologies.com/blog/wp-content/uploads/2021/04/site-redirection-min-1024x134-1.jpg)
3. Click on the Create New Redirect button.
![How to Add a Site Redirect in DirectAdmin? 2 create new redirect min 1024x154 1](https://visualwebtechnologies.com/blog/wp-content/uploads/2021/04/create-new-redirect-min-1024x154-1.jpg)
4. The Add New Redirect window will get displayed. In this window, you need to fill the below fields:
![How to Add a Site Redirect in DirectAdmin? 3 Screenshot 1 7](https://visualwebtechnologies.com/blog/wp-content/uploads/2021/04/Screenshot_1-7.png)
- 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:
![How to Add a Site Redirect in DirectAdmin? 4 Screenshot 2 3](https://visualwebtechnologies.com/blog/wp-content/uploads/2021/04/Screenshot_2-3-1024x137.png)
7. Now for testing the new redirect in your web browser. Here we browsed http://visualwebtechnologies.in and it got redirected to visualwebtechnologies.in/blog. The blog folder content gets displayed.