× Here you can get community support related to ReDJ.

Redirect url with replacement part

  • AchLive
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 months ago #5824 by AchLive
Redirect url with replacement part was created by AchLive
Hi, I have two menu items linking the view user profile.
A menu item has access Registered (site.com/account/user-name) while the other menu item has access Public (site.com/account-pubblico/user-name)
I would do the redirect from
site.com/account/user-name
to
site.com/account-pubblico/user-name
then going to replace only /account/ with /account-pubblico/ and retrieving "user-name"
I tried what you suggested in this post but the redirect is not executed
I have created this:
From URL: ^/account/
To URL: {scheme}://{siteurl}/account-pubblico/{pathltrim /account/}{queryfull}
Request only: true (checked)

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

More
7 years 4 months ago #5826 by admin
Replied by admin on topic Redirect url with replacement part
Sorry but the rule is right and it should work according to your requirements. Is the rule's hits counter still zero?

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

  • AchLive
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 months ago #5828 by AchLive
Replied by AchLive on topic Redirect url with replacement part
Thanks for the reply.
Yes, the counter of the rule is zero. If the rule set is correct then I guess it depends on the permissions to access this page.
However my problem, for now, I solved without redirect.
Thanks for the support

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

More
7 years 4 months ago #5829 by admin
Replied by admin on topic Redirect url with replacement part
U're welcome

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

Time to create page: 0.090 seconds