Error: redirect similar to an existing menu
-
avangate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 22
-
Thank you received: 0
-
-
11 years 2 months ago - 11 years 2 months ago #1465
by avangate
Hello
we are using REDJ 1.72 community on J 3.1.5
We came across a very strange issue
step one: we create a menu item pointing to an article
example:
www.mysite.it/supporto.html
-> it opens the correct article
step two: we create a redirect by REDJ
example:
www.mysite.it/suppo
-> pointing to
www.anothersite.it
it works correctly
but now, even
www.mysite.it/supporto.html points to
www.anothersite.it!
It looks like the shorter path "catches" the longest one. When the initial part is the same, you get the error.
I hope to be clear, try to reproduce it on a test Joomla installation if needed.
Thanks + regards
AO
Last edit: 11 years 2 months ago by avangate.
Please Log in or Create an account to join the conversation.
-
avangate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 22
-
Thank you received: 0
-
-
11 years 2 months ago #1466
by avangate
Additional info:
removing or unpublishing the redirect solves the problem, so the issue seems really related to some REDJ feature.
Thanks,
AO
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 2 months ago #1468
by admin
Hi,
is not strange to me because a rule can match the whole URL or a part of it. And the rule can also be a regula expression. So to avoid your problem just add a dollar sign at the end of the rule (it means "end with") and the rule will stop to match the second URL.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
avangate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 22
-
Thank you received: 0
-
-
11 years 2 months ago #1469
by avangate
Hello, thanks for the explanation, problem is solved.
Did I miss something?
Was this feature reported somewhere? Sorry in this case.
AO
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.169 seconds