Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    3

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

    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. :/
    Last edited by namu; 10-19-2006 at 06:39 PM.

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    378

    Default

    welcome to the Cpanel community , namu !!

    Try check in the .htaccess file if the redirection is setup correctly
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & TRUSTe Privacy Policy

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3

    Default

    Thanks Tweak! Great welcome.


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


    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^blahblah.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.blahblah.com$
    RewriteRule ^(.*)$ http:/otherblahblah.com/chs [R=301,L]
    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!
    Last edited by namu; 10-19-2006 at 06:38 PM.

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    3

    Default

    I just deleted everything in the htaccess file and it worked.

  5. #5
    aoc
    aoc is offline
    Member
    Join Date
    Nov 2004
    Posts
    9

    Default

    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. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,722
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Consider Upstream .htaccess Files

    Quote Originally Posted by aoc View Post
    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
    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. #7
    Member
    Join Date
    Jun 2003
    Location
    matrix
    Posts
    60

    Default

    Quote Originally Posted by cPanelDavidG View Post
    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
    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. #8
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    Quote Originally Posted by aoc View Post
    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
    Check in /home/ folder whether there is a .htaccess file.

Similar Threads & Tags
Similar threads

  1. Resetting Redirect to SSL doesn't work in 11.28.28
    By kjg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-11-2010, 04:41 AM
  2. cPanel redirect tool is errant - redirect loop error
    By jols in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-19-2009, 03:05 PM
  3. Subdomain Redirect Not Working
    By ShelaghG in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-13-2004, 08:38 PM
  4. Redirect doesn't work
    By technicolor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-12-2004, 01:09 AM
  5. redirect not working
    By nickvdbrink in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-17-2003, 10:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube