Creating a URL redirect

WARNING Never create a redirect for domain.com to www.domain.com or from domain.com to domain.com/index.something. Doing either will cause an infinite loop. If you need to control the www and index page, you must use mod_rewrite by adding .htaccess code.

  1. Login to cPanel and click the Redirects icon.
  2. Leave the setting as 301 redirect, as this is preferred by search engines.
  3. Select the appropriate domain name from the drop-down.
  4. In the subsequent blank, enter an optional path and file name; this exact name must be typed to trigger the redirect.
  5. In the large blank, enter the full URL for the redirect target; include http:// or https:// (e.g. http://gomedia.com)
  6. Leave the other settings as they are, unless you know why you want to change them.
  7. Click the Add button and you are done.

Congratulations, when someone types the exact name you specified, they will be redirected to the target site you specified.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Can I password protect directories?

To password protect directory: Note: At this time, cPanel can only protect directories, not...

phpMyAdmin

phpMyAdmin is a tool written in PHP to handle the administration of MySQL over the web. Databases...

Copy Entire Database or Rename Database

Is there a way for me to copy an entire database in cPanel? Go to cPanel > MySQL Databases...

How to import your MySQL database

How can I import a database? Go to phpMyAdmin Click the new database name in the top left...

Custom error pages

To create a custom error page for your account, please login to cPanel and click Error Pages,...