تحميل

How can I setup a redirect on cPanel?

Updated at
26/01/2023
Views
2167

To set up a redirect on cPanel, you can use the "Redirects" feature in the "Domains" section. Here are the steps to follow:

  1. Log in to your cPanel account.
  2. In the Domains section, click on the "Redirects" icon.
  3. In the "Type" dropdown menu, select the type of redirect you want to create. The most common types are:
    • "Permanent (301)" for redirects that will last forever.
    • "Temporary (302)" for redirects that will last only for a short period of time.
  4. In the "Source URL" field, enter the URL of the page you want to redirect.
  5. In the "Destination URL" field, enter the URL of the page you want the traffic to be redirected to.
  6. Click on the "Add" button to create the redirect.

You can also set up redirects using .htaccess file, add the following code to the file:

Redirect 301 /old-page.html http://www.example.com/new-page.html

Please note that redirects can affect the SEO of your website, so it's important to use them carefully and to test them before making them live. Also, it's a good idea to keep track of the redirects you have set up, as having too many redirects can slow down your website and make it difficult to manage.

YottaSrc footer

لماذا تختارنا؟

أفضل الأسعار, تخزين SSD سريع و دعم فني
24/7 حقيقي

control panel icon
cPanel

إدارة موقعك من خلال CPanel بأحدث إصدار

security icon
سريع وموثوق وآمن

ضمان وقت تشغيل بنسبة 99.8٪.
لذا ركز على عملك!

support icon
دعم 24/7/365

ليلاً أو نهارًا ، مطر أو شمس ،
فريقنا هنا من أجلك!

cloud backup icon
نسخ احتياطي يومي

نسخ احتياطي يومي وأسبوعي.
ملفاتك آمنة!