Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can't Remove Redirection from Addon Domain

Discussion in 'General Discussion' started by madtownlems, Sep 7, 2017.

Tags:
  1. madtownlems

    madtownlems Member

    Joined:
    Aug 21, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Madison, WI
    cPanel Access Level:
    Root Administrator
    I'm trying to add an add-on domain that uses the same document root as the primary domain on the account, which I've done successfully on my test server but can't get working on production. Here's what happens:

    I add an Addon Domain, say example.com.

    It says the redirection is going to redirect to:
    http://example.com/(?i)\.svn

    I click Manage Redirection, then clear the value of (?i)\.svn which is pre-filled in the input.

    “example.com” is now being redirected to “nowhere (Redirection Disabled!) ”.

    However, when I go back to the Addons screen, it still says that it's redirecting to:
    http://example.com/(?i)\.svn

    I'd like to remove the redirection for this addon domain.

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you have any custom rewrite rules enabled in the .htaccess file in the account's home or public_html directories?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Kalyt Solutions likes this.
  3. Kalyt Solutions

    Kalyt Solutions Registered

    Joined:
    Sep 9, 2018
    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    @cPanelMichael
    You saved my day.. Thanks a lot. I had the same issue and it was due to redirection in .htaccess file of the folder for the domain.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice