|
FAQ -> FAQ Answers
Redirecting a page to another page or domain?
cPanel Redirects
The Redirects area in your cPanel control panel allows you to redirect Internet traffic from one web page to another. This is usually used when a web page has been moved to another location.
To set up a redirect:
- Open the control panel. The username and password were sent in your setup email.
- Click on the Redirects link in the Advanced Menu area.
- Enter the address of the web page to move in the first field.
- Enter the redirection address in the second field.
- Choose one of the following options in the drop-down list:
- Temporary - This tells Internet traffic agents (browsers, search
engines, etc.) that this is only a temporary redirection, and that they
should return to this initial location again in the future for the same
page.
- Permanent - This tells the Internet traffic agents to go to the
redirection address in the future, as the old address will never be used
again.
- Click on the button.
That's it! Test your redirect in your web browser, and you should be successful.
Redirecting a visitor using PHP
This is useful if your page is already written in PHP code. Create and upload a your PHP file with following code instead of your page:
|