Urgent htaccess question

Discussion in 'Site & Server Administration' started by Nima, Aug 28, 2012.

  1. #1
    I moved a site of my mine (hookahlounge.net) to a new domain name (hookah.org). Now the .htaccess and 301 redirecting is killing me....

    I'm not moving everything, just three directories. so I've put the code below in my .htaccess file on HookahLounge.net

    
    
    redirect 301 /shisha-forum http://www.hookah.org/forum
    redirect 301 /hookah-blog http://www.hookah.org/blog
    redirect 301 /wiki http://www.hookah.org/wiki
    
    Code (markup):
    The first two (blog and forum) work fine. but the Wiki doesn't. It gets really odd too. When I put that line in the .htaccess of HookahLounge.net, HOOKAH.org starts acting up and giving me redirect error loop. See for yourself. If I take the third line (Wiki line) out of htaccess of HookahLounge.net, the wiki on both sites works fine though. I'm confused as heck here. Any help is highly appreciated
     
    Nima, Aug 28, 2012 IP
  2. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #2
    Is there another .htaccess conflicting in the /wiki folder itself? Because when I visit hookah.org/wiki, I get redirect issues to begin with.
     
    ironcladservers, Aug 28, 2012 IP
    Nima likes this.
  3. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    #3
    there is no .htaccess file in /wiki/ folder
     
    Nima, Aug 28, 2012 IP
  4. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #4
    Check the .htaccess file in your 'hookahlounge.net' root directory. Also, you can check your web server log files for more detailed information on what may be wrong.
     
    RoseHosting, Aug 29, 2012 IP