Managing Site Redirects in DirectAdmin
Summary
This guide explains how to create and manage website redirects in DirectAdmin. Redirects automatically send visitors from one URL to another, which is useful for SEO, reorganizing content, or forwarding old pages to new locations.
Overview
The Site Redirects section allows you to create different types of redirects, including temporary (302) and permanent (301) redirects. You can redirect entire domains, specific pages, or folders.
Requirements
- DirectAdmin user-level access
- At least one active domain
- Understanding of which URLs you want to redirect
Step-by-Step Instructions
1. Access Site Redirects
- Log in to DirectAdmin
- Go to Account Manager → Site Redirects
- Select the domain you want to manage
2. Create a New Redirect
- Click “Create New Redirect”
- Choose the redirect type:
• 301 Permanent
• 302 Temporary
- Enter the source path (example: /old-page)
- Enter the destination URL (example: https://example.com/new-page)
- Click “Create”
3. Redirect an Entire Domain
To forward all traffic from one domain to another:
- Set the source path to: /
- Enter the full destination domain URL
- Choose 301 Permanent for SEO purposes
4. Redirect a Folder
- Set the source path to the folder (example: /blog)
- Enter the destination folder or page
- Save the redirect
5. Remove a Redirect
- Go to Site Redirects
- Find the redirect in the list
- Click “Delete”
- Confirm deletion
Types of Redirects
301 Permanent Redirect
- Tells browsers and search engines the page has moved permanently
- Best for SEO and long-term changes
302 Temporary Redirect
- Indicates the change is temporary
- Search engines do not update indexing
Troubleshooting
Redirect Not Working
- Check for conflicting .htaccess rules
- Ensure no duplicate redirects exist
- Clear browser cache
Redirect Loop Detected
- Make sure the source and destination are not pointing to each other
- Check for redirects in both Site Redirects and .htaccess
HTTPS Redirect Issues
- Ensure SSL is enabled for the domain
- Check for mixed redirects (HTTP → HTTPS → HTTP)
Related Articles
- Domains
- DNS Management
- SSL Certificates
- Hotlink Protection