× Here you can get community support related to ReDJ.

Redirect Loop

More
9 years 8 months ago #2723 by spc
Redirect Loop was created by spc
Hello,

We are getting redirect loop issues on a Joomla 3.3 site.

For Example:

From Url: dental-plans/childrens-dental-coverage
Redirect URL: dental-insurance/dental-insurance-plans
Actually redirects to: sd.cloudaccess.net/dental-plans/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance/dental-insurance-plans


Another example:

From Url;: /resources/spirit-dental-faq$
Redirect URL: /about$
Actually Redirects To: sd.cloudaccess.net//resources/about




Attached is all of the redirects we have setup and the majority have this issue. Any help would be appreciated. Thanks!

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #2726 by admin
Replied by admin on topic Redirect Loop
Hi,
it seems you are creating redirection with a relative "To URL" also with special regexpr chars. The destination must be an absolute URL without any special char (is not a regular expression) and can contains only macros (for dynamic destinations). Could you, please, post here or send me at info(at)selfget,com a dump of ReDJ table? I need to check your rules...

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #2727 by spc
Replied by spc on topic Redirect Loop
Just sent you the SQL database dump via email. We also purchased your enterprise version FYI. If you could look at how to fix the entries we can go through and fix it it is likely something simple but we have never used reDJ at this scale before. Another issue is we are working on a staging domain and need to get this working before we push to live.

Thanks!

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago - 9 years 8 months ago #2729 by admin
Replied by admin on topic Redirect Loop
Hi,
loop is caused by this rule with ID=5:
From URL: dental-plans
To URL: dental-insurance/dental-insurance-plans

Try to change as follow at least to avoid loops:
From URL: ^/dental-plans$
To URL: http://{siteurl}/dental-insurance/dental-insurance-plans

Moreover, as I told you by mail, there are a lot of rules that need to be fixed. Please, start to change following my instructions, and we will check at the end if there are still problems to fix.

Kind regards,
Luigi
Last edit: 9 years 8 months ago by admin.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #2733 by spc
Replied by spc on topic Redirect Loop
Thanks tried that but still having issues.

For example I tried:

From URL: ^/resources/why-spirit-powerpoint$
To URL: http://{siteurl}/more

and sd.cloudaccess.net/resources/why-spirit-powerpoint
redirects to: sd.cloudaccess.net/resources/more
not sd.cloudaccess.net/more like we want.

Do we need to do something else?

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #2734 by admin
Replied by admin on topic Redirect Loop
The problem is with {siteurl} macro and its usage. The macro is useful to point to the current base URL of your Joomla site. In your example you wanto to move on a root folder, so change macro in the destination:
To URL: http://{host}/more

Using {host} should solve.

Kind regards,
Luigi
The following user(s) said Thank You: spc

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds