The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Multiple redirects created after migration

Discussion in 'Bind / DNS / Nameserver Issues' started by Maroje Sardelich, Feb 11, 2017.

Tags:
  1. Maroje Sardelich

    Maroje Sardelich Registered

    Joined:
    Mar 15, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Zagreb
    cPanel Access Level:
    Root Administrator
    Greetings. I have one account that has around 50 identical redirects created after migration from another cpanel server. Since there is no select all option in cpanel for redirects, where are they stored? And no, there is nothing in htaccess file regarding 50+ redirects.
     

    Attached Files:

    • 2.JPG
      2.JPG
      File size:
      69.3 KB
      Views:
      5
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the contents of the .htaccess file under the account's public_html directory, and under the account's home directory if it exists? Ensure to replace real domain names and IP addresses with examples.

    Thank you.
     
  3. Maroje Sardelich

    Maroje Sardelich Registered

    Joined:
    Mar 15, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Zagreb
    cPanel Access Level:
    Root Administrator
    Home directory htaccess
    <IfModule mod_deflate.c>
    AddOutPutFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
    <IfModule mod_setenvif.c>
    # Netscape 4.x has some problems...
    BrowserMatch ^Mozilla/4 gzip-only-text/html

    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4\.0[678] no-gzip

    # MSIE masquerades as Netscape, but it is fine
    # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    # the above regex won't work. You can use the following
    # workaround to get the desired effect:
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

    # Don't compress images
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>

    <IfModule mod_headers.c>
    # Make sure proxies don't deliver the wrong content
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    </IfModule>




    public_html htaccess

    # php -- BEGIN cPanel-generated handler, do not edit
    # NOTE this account's php is controlled via FPM and the vhost, this is a place holder.
    # Do not edit. This next line is to support the cPanel php wrapper (php_cli).
    # AddType application/x-httpd-ea-php56 .php .phtml
    # php -- END cPanel-generated handler, do not edit
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page