#1 (permalink)  
Old 05-11-2009, 02:26 PM
Registered User
 
Join Date: May 2009
Posts: 2
Uilmuteiz is on a distinguished road
redirect loop issue

Hi everyone,

I've been using CPanel for a while now and everything worked out fine until a few weeks ago.

I tried redirecting a domain to a wordpress directory and I got a redirect loop.

So far I tried to redirect to another folder and I got the same problem.
Tried both permanent and temporary redirect, failed.
I tried uploading a .htaccess file to my root directory and it failed as well.

I tried redirecting to another site (a yuku board site) and it worked like a charm.

I'm somewhat at a loss right now and I would appreciate any help (or general pointing in the right direction.)

I've seen some people with similar issues, but they haven't found a sure to that problem either.

It's as if the redirect tool from Cpanel and the config file from the apache server didn't allow any redirections to a subfolder...

And yet on another web site I have on the very same server, the exact thing I want to accomplish here works just fine. So there must be something I'm doing wrong.

Thank you for any input.

EDIT: just in case this helps, i'm using cPanel Version 11.24.4

Last edited by Uilmuteiz; 05-11-2009 at 02:41 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2009, 04:42 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,498
Infopro is on a distinguished road
Question

Is there an .htaccess in the wordpress directory?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2009, 05:51 PM
Registered User
 
Join Date: May 2009
Posts: 2
Uilmuteiz is on a distinguished road
the answer is no

I believe it would make sense since that would most likely create a loop

as in "go there" and once you've reached your destination you find another "go there" which is pretty much exactly the same destination you're in at the moment.

Now I could see a dog running around after his own tail.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-08-2009, 11:18 AM
Registered User
 
Join Date: Dec 2004
Posts: 115
xisn is on a distinguished road
I see this issue on a few of my servers as well, it seems the issue is in the .htaccess file creation:

it looks like this:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.org$
RewriteRule ^.*?$ "http\:\/\/domain\.org\/subdir" [R=301,L]
instead of this: (Notice the red below)

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.org$
RewriteRule ^/?$ "http\:\/\/domain\.org\/subdir" [R=301,L]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-08-2009, 11:33 AM
Registered User
 
Join Date: Jun 2009
Posts: 1
spent is on a distinguished road
Thanks XISN, that solved my issue!! Someone should sticky this post as it seems there are many people with this problem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-07-2009, 02:17 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Our developers are currently working on this issue (Internal Case 23698).

Thanks for bringing this to our attention via forums and tickets.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:24 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc