> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Create a Domain Redirect in cPanel
- URL: https://blog.esadax.com/en/how-to-create-a-domain-redirect-in-cpanel/
- Published: 2026-11-15T04:16:24.000Z
- Updated: 2026-11-15T04:16:24.000Z
- Author: Esadax 
- Tags: #tr-faq-cpanel-01-how-to-create-a-sitedomain-redirect-in-cpanel, #en, #mdx-imported, FAQ

Redirecting a domain in cPanel allows you to transfer traffic from one URL to another, which is useful for website migration or consolidating domains. Below is a step-by-step guide to setting up a domain redirect using cPanel.

## Step 1: Access cPanel

- Log in to your hosting account and navigate to the cPanel interface.

## Step 2: Navigate to Redirects

- In cPanel, locate the "Domain" section and click on "Redirects."

## Step 3: Choose Redirect Type

- **301 Permanent Redirect**: Ideal for permanent URL changes. This type is favored for SEO as it preserves link equity.
- **302 Temporary Redirect**: Suitable for temporary URL changes, though not recommended for long-term use.

**Note:** For most cases, a 301 redirect is recommended to maintain SEO benefits and user experience.

## Step 4: Select the Domain

- From the dropdown menu, choose the domain you wish to redirect.

## Step 5: Enter Target URL

- In the "Redirects to" field, enter the full URL of your target page, including the protocol (http:// or https://).

## Step 6: [www](http://www/?ref=blog.esadax.com). Prefix Option

- **Redirect with** [**www**](http://www/?ref=blog.esadax.com)**.:** The redirect will only work if users include "[www](http://www/?ref=blog.esadax.com)." in their URL.
- **Redirect with or without** [**www**](http://www/?ref=blog.esadax.com)**.:** The redirect works regardless of whether "[www](http://www/?ref=blog.esadax.com)." is used.
- **Do not Redirect** [**www**](http://www/?ref=blog.esadax.com)**.:** Disables the redirect for URLs containing "[www](http://www/?ref=blog.esadax.com)."

## Step 7: Wild Card Redirect (Optional)

- Enable this option to redirect all files in the current directory to the same filenames in the target directory. For example, if example.com redirects to example-test.com with Wild Card enabled, both example.com/test/ and example.com/image.jpg will redirect accordingly.

## Step 8: Create Redirect

- Click the "Add" button to save your settings and complete the redirect setup.

## Conclusion

By following these steps, you can efficiently set up a domain redirect in cPanel. If you encounter any issues or need further assistance, feel free to reach out to our support team for help.

---