redirects
How to Redirect Your Website to Any Page or External Domain
Log in to your cPanel account. In the Domains section, click on Redirects. Under Add Redirect, you should enter the following details and choose the appropriate options. Type: Choose Permanent (301) or Temporary (302). https?://(www.)? Leave this as it is, or should you want to redirect a directory or a page, enter the name of your directory or a full page in the text box. Redirects to: Points to where you want to redirect your current domain or a page. Click on Add.
How to Remove a Domain Redirect in cPanel
Log in to your cPanel account. In the Domains section, click on Redirects. Scroll down to the end of the page. Under Current Redirects, locate the domain and click on remove. For confirmation, click on Remove Redirect once more.
How to Redirect a Page to Another Page or Website Using htaccess
If a page on your website no longer exists and you want to redirect it to a new page or website, you can use the dot htaccess file to redirect visitors. Redirect from a page/directory to another domain or the main domain: Redirect from a specific page to a domain: RewriteEngine on Redirect 301 /mypage.html http://example.com Redirect from one page to another page: #Redirect from a page/directory to another page Redirect 301 /oldpage.html /newpage.html Whenever you open a URL such as example.com/oldpage.html, it will redirect you to example.com/newpage.html.
How to Redirect a Page or Website Using htaccess
If a page on your website no longer exists and you want to redirect it to a new page or website, you can use the dot htaccess file to redirect visitors. Redirect from a page/directory to another domain or the main domain: Redirect from a specific page to a domain: RewriteEngine on Redirect 301 /mypage.html http://example.com Redirect from one page to another page: #Redirect from a page/directory to another page Redirect 301 /oldpage.html /newpage.html Whenever you open a URL such as example.com/oldpage.html, it will redirect you to example.com/newpage.html.