Please Login or Register

Knowledgebase

URL redirect, how to create

 

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://availhosting.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.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Error Page Codes (Views: 2708)
Hidden files (Views: 2761)

Powered by Ps2Gamer

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search