× Here you can get community support related to ReDJ.

Redirect don't work at all

  • pj@jordan.de
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago #3176 by pj@jordan.de
Replied by pj@jordan.de on topic Redirect don't work at all
Thanks .. got it .. seems to works now.
The missing point was the REQUEST ONLY.
The description is misleading. So Request only checked means it search the host and Not checked means it doesn't search host
I now have
from url: ^/$
to url: www.vital-office.com
skip: www.vital-office.com
this seems to work.
but when I use ^www.vital-office.com$ in skip it does not work.
I do not understand hop regexp. works in redj.
does ^ mean it that this is the starting of the search string or does it mean that redj start search from the very beginning of the url string?

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

More
10 years 1 month ago #3177 by admin
Replied by admin on topic Redirect don't work at all
Hi,
a better description then tooltip info is provided here:

www.selfget.com/documentation/redj-joomla25/create-a-redirection-rule.html

Request only: as stated before, this field is used to specify if only the request part or the whole URL must be considered of the requested URL.


But your usage of "skip condition" is perfect (was created for these situations...) :)

Regular expressions supported by ReDJ are the same of MySQL, because their application is delegated to MySQL through the built sql query. More details about regexp:

dev.mysql.com/doc/refman/5.1/en/regexp.html

ReDJ just takes the whole current URL or the request only part and compares them with each (enabled) rule. The first matching rule is applied...

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

  • pj@jordan.de
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago #3178 by pj@jordan.de
Replied by pj@jordan.de on topic Redirect don't work at all
thanks, I checked the request only button and it seems to work.
^/$ to www.vital-office.com with skip www.vital-office.com
Next I added a rule as #1 BEFORE this:
from: index.php/de to www.vital-office.de
.. either don't work or has loop.
I tried also www.vital-office.com/index.php/de and www.vital-office.com/index.php/de
nothing works.
But should according your description it catches the first match only.
so first is /de/ which should take it to vital-office.de (German language)
second to come is /cn/ which should take it to vital-office.cn (Chinese language)
lasz is the global which shall take all the not before defined url pathes to vital-office.com (English language) to avoid double content in SEO.

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

More
10 years 1 month ago #3179 by admin
Replied by admin on topic Redirect don't work at all
About my description let me add that the "first one applied" using the "ordering", so play with ordering to change rules priority. About the problem with the second rule, could you please, post here a dump of ReDJ redirections table? I need to check your rules...

Thanks.

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

More
10 years 1 month ago #3188 by Gideon
Replied by Gideon on topic Redirect don't work at all
I think I have a similar problem- RedJ Enterprise 1.7.7 installed in J!3.3.3. I've got the plugin enabled and it's ordered first in the plugin manager. I've created a test Internal (200) Redirect on a URL, but the site acts identically the same as before installing RedJ- no URL changes. I've tried this both with System SEF enabled and disabled. Looking at this support thread makes me wonder if I am supposed to be making some kind of changes to my htaccess file? Thanks!

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

More
10 years 1 month ago #3189 by admin
Replied by admin on topic Redirect don't work at all
Hi,
could you, pls, post here the rule you are trying? If prefer, send me an email at info(at)selfget.com with a screenshot of the rule or a dump of redj table. I need to check your rule.

Thanks,
Luigi

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

Time to create page: 0.213 seconds