Redirect url with replacement part
-
AchLive
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
7 years 11 months ago #5824
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 11 months ago #5826
by admin
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
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
7 years 11 months ago #5828
by AchLive
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.138 seconds