URL Redirect

You have a redirect tool in cPanel, which main function is redirection of your website's visitors from a source URL to a target URL.

Warning: It’s not allowed to redirect from domain.com to www.domain.com or from domain.com to domain.com/index.something, because it will cause an infinite loop. If you wish to control the www and index page, you always must use mod_rewrite by adding .htaccess code.

How to Set Up a Redirect

1. Log into cPanel.

2. Choose the Redirects icon (it’s located under Domains).

3. The Type drop-down menu has two types for redirect:

3.1) Permanent 301 redirects users or search engines to a new site.
3.2) Temporary 302 redirects users or search engines, but don’t update the bookmark and it continues to index only the original page.

4. Select the "http://(www.)" drop-down menu and choose the domain name that will be redirected. If you redirect a single page or directory, other option is usage of the adjacent text field, where will enter the name of the folder or the file.

5. In the "redirects to" field, write the full URL of the page

Note: It’s necessary to type the protocol (e.g. http://, https:// or ftp://) before the domain URL and then it would be accepted.

6. You have to choose between the following three www redirection options:

6.1) Only redirect with www. – it only redirects visitors that write www. as part of the URL.
6.2) Redirect with or without www. – it will redirect all visitors no matter they use www. or not.
6.3) Do Not Redirect www. – it won’t redirect visitors that type www. as part of the URL.

7. Another option is the Wild Card Redirect, by which users set up a redirect to the same file on a new destination, described below:

7.1) With Wild Card Redirect, www.example.com/about.html will redirect to www.example-destination.com/about.html
7.2) Without Wild Card Redirect, www.example.com/about.html will redirect to www.example-destination.com

8. Finally, select Add in order to create the redirect as specified.

As a result when visitors write the URL, which you have already specified, they will be redirected to the site, created by you.
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

reCapcha doesn't work on my WordPress site. How to fix it?

Question: I have some issues with my reCapcha on my WordPress site, how to fix it. It was just...

Is it possible to get a dedicated IP address for my webpage?

Question: Hello, Is it possible to get a dedicated IP address for my webpage? (I am planning to...

Problem with PHP WordPress memory

Question: I'm trying to increase the php memory limit to 128Mb in order to keep Woocommerce...

Ad banner module does not work in my host

Question: I installed an ad banner module, but gave me the following message:ForbiddenAccess to...

I can't access to my WP installation

Question: After copying the new site files to de main directory, I can not login into my...