× Here you can get community support related to ReDJ.

redirect for home page

More
11 years 6 months ago #369 by mtoy
redirect for home page was created by mtoy
I'm really sorry - I read the manual, but I cannot figure out how to redirect from destinationsbelize.com/ to www.destinationsbelize.com/

I know you have an easy solution to this, but sometimes I have trouble following the manual.

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

More
11 years 6 months ago #372 by admin
Replied by admin on topic redirect for home page
If you are using the last version for Joomla 2.5 it's possbile, but with the Joomla 1.5 not, because rules work only on the request part. Try this:
From URL: ^http://destinationsbelize.com/
To URL: http://{host}{path}{queryfull}
Request only: FALSE

Kind regards,
Luigi

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

More
11 years 6 months ago #376 by mtoy
Replied by mtoy on topic redirect for home page
Hi Luigi:

I don't follow what goes in the "To URL" path - would it be www.destinationsbelize.com

or the exact words you have written here - http://{host}{path}{queryfull}

Also, does this resolve the issue I read something about of the difference between:

www.destinationsbelize.com/
www.destinationsbelize.com

(Sorry to be so obtuse.)

Mary

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

More
11 years 6 months ago #378 by admin
Replied by admin on topic redirect for home page
Dont' worry, It's a pleasure... :)

Copy my rule as is (it uses "macro"). Also to support an optional / modify the From URL as follow:
From URL: ^http://destinationsbelize.com
To URL: http://{host}{path}{queryfull}
Request only: FALSE

Kind regards,
Luigi

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

More
11 years 6 months ago #379 by mtoy
Replied by mtoy on topic redirect for home page
Hi Luigi:

As always, thank you very much for your help.

I would like to understand what "request only" and "decode URL" mean. I could not find an explanation in the manual. Also,l when you say "Request Only: False" - I am assuming that means to return "request only" to "off."

Thank you very much (again) in advance.

Mary

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

More
11 years 6 months ago #380 by admin
Replied by admin on topic redirect for home page
Request only tells ReDJ to consider only the request part (after the domain) and not the full URL (that start with http...).

Decode URL tells ReDJ to decode the current URL before to check with rules. So any encoded char (with %##) will be decoded before comparison.

Hope this helps. I will update tutorial as soon as possible.

Kind regards,
Luigi

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

Time to create page: 0.079 seconds