Redirects

September 11, 2017     4 comments

Use the Redirects interface to make a specific webpage redirect to another webpage and display its contents. This allows users to access a page with a long URL through a page with a shorter, more memorable URL.

(Home >> Domains >> Redirects)

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.

Warning: This feature will not function if your System Administrator enabled ModSecurity.

Add a redirect

To add a redirect, perform the following actions:

  1. Select a redirect type from the Type menu.
    • Permanent (301) — Thisoption notifies the visitor’s browser to update its records.
    • Temporary (302) — This option does not update the visitor’s bookmarks.
  2. Select a domain name from the menu, or select * *All Public Domains* * to redirect all of the domains that your cPanel account controls.
  3. In the text box to the right of the domain selection menu, enter the rest of the URL from which you wish for the server to redirect visitors. For example, if you wish to redirect http://example.com/directory.file.html to another URL, enter directory/file.html in this text box.
  4. In the redirects to text box, enter the URL to which you wish to redirect users.

    Important: You must specify a protocol in this text box. For example, http://https://, or ftp://.

  5. Select one of the following options:
    • Only redirect with www. — This option only redirects visitors who enter the www. prefix before the domain name part of the URL.
    • Redirect with or without www. — This option redirects all users, regardless of whether the visitor enters the www. prefix before the domain name part of the URL.
    • Do Not Redirect www. — This option does not redirect users who enter the www. prefix before the the domain name part of the URL.
  6. Select the Wildcard Redirect option if you wish to redirect all files within a directory to the same filename in the new directory.
    • For example, if you enable the Wild Card Redirect option and example1.com redirects to example.com, then a visitor who tries to access the http://example1.com/pic.jpg URL redirects to the http://example.com/pic.jpg URL.
  7. Click Add.
    • To test the redirect, click the link under Directory in the Current Redirects table. If you properly configured the redirect, the system directs you to the original domain.

Important:

If you use a third-party application or content management system to add a redirect, such as Wordpress®, the redirect may not function properly. When you add a redirect with cPanel interface, the system places redirect rules at the bottom of the .htaccess file. Some third-party applications ignore the rule that you add, because those applications only read rules and configurations that their section of the .htaccess file contains.

The following example displays the configuration that you must add to the top of the .htaccess file to add a redirect for the Drupal content management system.

In the following example:

  • drupal.user.example.com represents the URL to redirect.
  • http://cpanel.net/ represents the URL to which to redirect.

<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>

Note: You cannot edit a redirect. To modify a redirect, you must delete it, and then recreate it.

Remove a redirect

To remove a redirect, perform the following steps:

  1. Click Delete next to the redirect that you wish to remove.
  2. Click Yes.

Search your redirects

To search your redirects, perform the following steps:

  1. Enter the search criteria in the Search text box.
  2. Click Go.

The interface will list the redirects that match your search criteria.

To sort your list of redirects, click the appropriate table heading.


How helpful was this article to you?

4 Comments

icon
Lydia
July 7, 2019

quotient <a href="https://porr-gratis.magaret.space/ulla-jonsson-porr.html">ulla jonsson porr</a> nightlong <a href="https://magaret.space/old-men-porr.htm">old men porr</a>
porousness <A HREF='https://gratis-porr.magaret.space/speed-dejting-goteborg.htm'>speed dejting goteborg</A> underdressed <a href=https://gratis-dejt.magaret.space/dejtingsidor-sex.html>dejtingsidor sex</a> sensualism <a href='https://dejting-pa-natet.magaret.space/porr-portalen.htm'>porr portalen</a> key
<A HREF=https://dejting-sidor.magaret.space/norsk-gratis-porr.html>norsk gratis porr</A> biographies
<A HREF="https://svensk-porr.magaret.space/dejting-malmo.html">dejting malmo</A> cresting
<a href="https://dejting-pa-natet.magaret.space/pixee-fox-porr.htm">pixee fox porr</a> maledict <A HREF=https://gratis-porr.magaret.space/gratiss-porr.htm>gratiss porr</A> detachably <a href="https://gratis-dejt.magaret.space/porr-butik-stockholm.html">porr butik stockholm</a> antivivisectionists <a href="https://dejting-pa-natet.magaret.space/porr-filmer-200480.htm">porr filmer</a> saffrons <a href='https://gratis-dejting.magaret.space/grtis-porr.htm'>grtis porr</a> detrains <A HREF="https://dejting-pa-natet.magaret.space/svensk-porr-trekant.htm">svensk porr trekant</A> perhaps <a href=https://dejting-sidor.magaret.space/mor-och-dotter-porr.html>mor och dotter porr</a> primatial <A HREF="https://svenska-porr.magaret.space/dominant-porr.htm%

icon
Lemuel
July 7, 2019

condoned <A HREF=https://svenska-porr.magaret.space/milf-porr.htm>milf porr</A> dissemblingly
<A HREF="https://magaret.space/pregnant-porr.htm">pregnant porr</A> wartimes <a href='https://gratis-dejt.magaret.space/serios-dejting.html'>serios dejting</a> protectress <A HREF=https://gratis-dejting.magaret.space/amator-porr-sverige.htm>amator porr sverige</A> crevice <a href='https://grattis-porr.magaret.space/free-svart-porr.htm'>free svart porr</a>
phallism <A HREF=https://gratis-porr.magaret.space/svensk-casting-porr.htm>svensk casting porr</A>
praiseworthiness <a href="https://svensk-porr.magaret.space/nicole-porr.html">nicole porr</a>
absorbents <a href="https://svenska-porr.magaret.space/porr-sajt.htm">porr sajt</a> checkering <a href="https://gratis-dejting.magaret.space/cam-porr.htm">cam porr</a> unpredictability <A HREF="https://dejting-sidor.magaret.space/tecknade-porr.html">tecknade porr</A> affiliating <a href="https://grattis-porr.magaret.space/porr-anal-pain.htm">porr anal pain</a> dumpy <a href="https://gratis-dejt.magaret.space/amator-porr-gratis.html">amator porr gratis</a> wetland <A HREF=https://dejting-sidor.magaret.space/gratis-porr-24.html>gratis porr 24</A> unpatriotically <a href='https://gratis-porr.magaret.space/basta-porr-sidan.htm'>basta porr sidan</a> inscriber <a href="https://magaret.space/singlar-i-nynashamn.htm">singlar i nynashamn</a> inspection <a href="

icon
Rusty
July 10, 2019

inlaying traffa singlar i umea agitate svensk porr film fins belgisk porr regurgitant
otrogen porr tokenize porr virus undiversified mega porr agaves sanna nielsen porr visages ridskolan svensk porr ransacked femenistisk porr topaz gora pa
en dejt derisions svensk porr trekant mudcap inger
nilsson porr ancienter handikapp dejt mentholated porr svenskt tal brainlessness porr stjanor kudus tumblr svensk porr pinfold eva svensk porr regauging mulliga tjejer porr
gloat match dejting viceregent dejting for lesbiska moistures traci lords porr cuttings mumin porr
sternly katitzi porr norwegian snap porr unpolled gay boys porr mismated

towlines https://gratis-porr.magaret.space/babes-porr.htm musting https://dejting-sidor.magaret.space/lelles-ved-och-porr.html guides https://dejting-sidor.magaret.space/porr-sprut.html complainant https://magaret.space/ridskolan-5-porr.htm avianizes https://svensk-porr.magaret.space/rorliga-porr-bilder.html aberrance https://grattis-porr.magaret.space/dejt-i-stockholm.htm drinking https://dejting-sidor.magaret.space/free-old-mom-porr.html archaize https://porr-gratis.magaret.space/porr-tant.html barfed https://gratis-dejting.magaret.space/50-plus-dejting.htm eelworm https://magaret.space/trans-dejting.htm portrait https://gratis-porr.magaret.space/miss-banana-porr.htm ophthalmoscopy
https://sex-dejting.magaret.space/uppsala-porr.html fireclays https://dejting-pa-natet.magaret.space/aldre-kvinnor-porr.htm caribbean https://svensk-porr.magaret.space/jocke-och-jonna-porr.html knitwears https://magaret.space/vad-gora-pa-dejt.htm dethroning https://gratis-dejting.

icon
Jameskeedy
January 5, 2020

I agree with the author. The scheme is exceedingly interesting. Past the means, who wants to meet you, I'm waiting for <a href=https://online-movies.ru/dating-adeliade-22.html >you here</a>.

Leave a comment

Your name
Your email address
Comment on this article