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.

Error adding redirect

Discussion in 'General Discussion' started by manuki, May 28, 2008.

  1. manuki

    manuki Member

    Joined:
    Dec 18, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    A customer of mine tried to add a redirect using a wild card on he got the following error:

    There was a error adding redirect.

    Apache detected an error in the Rewrite config.
    Syntax error on line 6 of /home/neurokor/public_html/.htaccess.8_4XxeksoE3n6SkhuW6kFm425Lmbu4r5:
    RewriteCond: bad flag delimiters
    Please try again.

    This only happens with the Wildcard option on. I did not find any solution for this. How do I fix this?
     
  2. cuervo83

    cuervo83 Registered

    Joined:
    Jul 21, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    It happened the same to me... any help?
     
  3. Unic-Dev

    Unic-Dev Registered

    Joined:
    Sep 19, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    INDIA
    same here with solution

    Hi this is Mahesh from UnicHost India

    It happened to me as well.

    While looking at .htaccess I found I am redirecting the url which was already redirected. :)

    i.e. [unichost.com/cpanel-hosting-india.php] was the url I was redirecting to.

    previously added ............... url-A to url-B
    now was trying to add........ url-B to url-C [generating an error]

    solution:
    removed ........ A to B
    added ........... A to C and B to C [Worked !]

    Please check your htaccess if this is not the case with you. If yes then just remove the older one and redirect both urls to the desired one.

    All the best.
     
  4. sanjaydagar123

    Joined:
    Aug 29, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    delhi, india
Loading...

Share This Page