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!

.htaccess redirect issue

Discussion in 'General Discussion' started by zitrox, Oct 3, 2013.

  1. zitrox

    zitrox Member

    Joined:
    Mar 28, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    Found a big mistake in the redirection handling. Took me quite a lot of time, to find out why the sef urls in my cms sites no longer worked.

    As soon as you create in cPanel (WHM) an url redirect with the following settings:

    (the idea was to point all parked domains to one target with one single entry)
    - *ALL* Domains option
    - enter a target ..
    - with www and non-www

    It creates or updates your main root .htaccess file with an "INHERIT" entry at the first position.

    This inherit, will override all htaccess files in all your subprojects, addon domains and of course it affects your
    sef urls as well.

    As a result of this, you problably get an error message in your browser as well "too many redirects" , "never ending redirect" possibly ;)

    My Suggestion.
    Don't add this inherit command per default, make a radio button for this in cpanel.
     
  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 :)

    The addition of an option to decide the nature of how a redirect is added would be better suited as a feature request. You can open a feature request via:

    Submit A Feature Request

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zitrox

    zitrox Member

    Joined:
    Mar 28, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    but it's a bug how it works in the current version and will be fixed soon, right?
     
  4. 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:
    I do not see any existing bug reports open for this issue. Feel free to open a bug report via:

    Submit A Bug Report

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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