Overview
The Redirects interface allows you to send all of the visitors of a domain or particular page to a different URL.
For example, if create a page with a long URL, use the Redirects interface to add a redirect from a short URL to the long URL. Visitors can enter the short URL to access the content of the long URL.
Add a redirect
To add a redirect, perform the following actions:
|
1 2 3 4 5 6 7 8 |
<IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{HTTP_HOST} ^drupal\.user\.example\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.drupal\.user\.example\.com$ RewriteRule ^cptest$ "http\:\/\/cpanel\.net\/" [R=301,L] </IfModule> |
Remove a redirect
To remove a redirect, perform the following steps:
Search your redirects
To search your redirects, perform the following steps:
The interface will list the redirects that match your search criteria.
To sort your list of redirects, click the appropriate table heading.
Overview Cron jobs are scheduled tasks that the system runs at predefined times or intervals.... Read More
How to add FTP accounts in cpanel 1 Login to cPanel. 2 Click the FTP Accounts button in the... Read More
Overview This wizard guides you through the setup of a MySQL® database, user accounts, and user... Read More
1. Login to WHM. 2. Click on List Accounts in Account Information Tab. 3. Now select... Read More
1. Login into cPanel. 2. Search for “MultiPHP INI Editor” in searchbar and open it. 3.... Read More