A redirect automatically sends visitors from one URL to another. Use it when you move a page, rebrand, or want a short link to point somewhere else. DirectAdmin makes this simple. Here is how.
When to use a redirect #
- You moved or renamed a page and want old links to still work.
- You want a memorable short URL to point to a longer one.
- You are consolidating several addresses into one.
Step-by-step: create a redirect #
- Connectez-vous à DirectAdmin (généralement votredomaine.com:2222).
- Aller à Gestionnaire de comptes et cliquez sur Redirections (sometimes “Site Redirection”).
- Cliquez sur Create Redirect.
- Enter the path you want to redirect from (for example, /old-page).
- Saisissez l'URL complète de la page de destination.
- Choose the redirect type (see below) and save.
301 vs 302 redirects #
- 301 (permanent) : best for moved pages. It passes SEO value and tells search engines the change is permanent.
- 302 (provisoire) : use when the change is short-term.
For most content moves, choose a 301.
Editing or removing a redirect #
- Retour à Redirections.
- Find the entry in the list.
- Edit the destination, or delete it to remove the redirect.
Dépannage #
- Redirect loops: make sure the source and destination are not the same or circular.
- L'ancienne page s'affiche toujours : Videz le cache de votre navigateur et celui du site.
- Destination incorrecte : check for typos in the target URL.
Besoin d'aide ? #
If a redirect is not behaving, contact our support team on live chat for a quick check.