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.

.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:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. zitrox

    zitrox Member

    Joined:
    Mar 28, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    but it's a bug how it works in the current version and will be fixed soon, right?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page