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

namu

Registered
Oct 16, 2006
3
0
151
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:

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
welcome to the Cpanel community , namu !! :) :) :)

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

namu

Registered
Oct 16, 2006
3
0
151
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:

aoc

Member
Nov 9, 2004
9
0
151
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
Consider Upstream .htaccess Files

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 :)
 

mahinder

Well-Known Member
Jun 12, 2003
69
0
156
matrix
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.