|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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]
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.org$
RewriteRule ^/?$ "http\:\/\/domain\.org\/subdir" [R=301,L]
|
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|