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.

Redirect is still working even though it doesn't show up in redirect section?

Discussion in 'General Discussion' started by namu, Oct 16, 2006.

  1. namu

    namu Registered

    Joined:
    Oct 16, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi all! My first post!

    I have a forum at http://otherblahblah.com/chs and I was redirecting
    the base domain www.blahblah.com to that URL. I finally decided to
    install an updated version of the forum, so I did so, and created it in
    www.blahblah.com/forum. All good so far.

    So then I went into the redirect area of my cpanel to turn off the redirect
    to the empireneptune.com/chs but it wasn't listed there...the problem is
    www.blahblah.com still redirects to empireneptune.com/chs, even though
    that redirect isn't listed.

    And if you type www.blahblah.com/forum (the direct link to the new
    forum) it redirects to the old forum! :(

    Can someone please help me figure this out? I'm lost. :/
     
    #1 namu, Oct 16, 2006
    Last edited: Oct 19, 2006
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    welcome to the Cpanel community , namu !! :) :) :)

    Try check in the .htaccess file if the redirection is setup correctly
     
  3. namu

    namu Registered

    Joined:
    Oct 16, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Tweak! Great welcome. :)


    Well, here's what was in my htaccess file:


    So it looks like the redirect is still there when it shouldn't be.
    So, how do I get cpanel to recognize that there shouldn't be
    that redirect? Or, what can I change manually in the htaccess
    file?

    Thanks for the suggestion!
     
    #3 namu, Oct 17, 2006
    Last edited: Oct 19, 2006
  4. namu

    namu Registered

    Joined:
    Oct 16, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I just deleted everything in the htaccess file and it worked. :)
     
  5. aoc

    aoc Member

    Joined:
    Nov 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    i have same problem, but the .htaccess is empty

    and the site still redirect to the old folder. and not listed in the redirect section in the cpanel.

    please help
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Consider Upstream .htaccess Files

    I know in the past sometimes I erased something from a .htaccess file without considering what was in the .htaccess files "upstream" per-se.

    For example, if I had a redirect in the .htaccess file for the URL http://www.myDomain.com/awesomeProduct to point to http://www.myDomain.com/awesomeProduct/manual and deleted that entry to no avail, perhaps there might be something in the .htaccess one directory up to do the exact same thing. In that case, that entry would also need to be removed in that .htaccess file.

    Of course, the thing that always fustrated me was when I was editing a local copy of .htaccess meaning to FTP upload it, forgetting to upload the file then wondering why my server was being all "weird." Oops :)
     
  7. mahinder

    mahinder Well-Known Member

    Joined:
    Jun 12, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    matrix
    david thanks for your post man, it helped allot, an user upload .htaccess file in /home/user but even after deleting redirects from cpanel and .htaccess in public_html it was still redirecting, i kept wondering why for 10 minutes before i read your reply. thanks. tc.
     
  8. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Check in /home/ folder whether there is a .htaccess file.
     
Loading...

Share This Page