How to replace language indicator in URL?
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 weeks ago #1701
by admin
Sorry but I don't understand your settings.
Could you please post or send a dump of ReDJ table?
And if possible a screenshot of the error you get...
Please Log in or Create an account to join the conversation.
-
kuk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
11 years 3 weeks ago #1706
by kuk
I wrote an example of my tryouts - see PDF attachment.
Hope this makes it clearer what I mean.
This message has an attachment file.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 weeks ago - 11 years 3 weeks ago #1708
by admin
Try this rule:
From URL: /cat-center-publications-en/
To URL: http://{siteurl}/publicweb-dev/en/{pathltrim /publicweb-dev/de/}{queryfull}
The destination MUST BE absolute, not relative...
Last edit: 11 years 3 weeks ago by admin.
Please Log in or Create an account to join the conversation.
-
kuk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
11 years 3 weeks ago #1712
by kuk
No, doesn´t work. He have always this loop effect (= repetition of the /publicweb-dev/en/ part) when I use the absolute path rules.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 weeks ago #1714
by admin
We could try to avoid loops adding the /de/ in the from:
From URL: /publicweb-dev/de/.*/cat-center-publications-en/
To URL: http://{siteurl}/publicweb-dev/en/{pathltrim /publicweb-dev/de/}{queryfull}
Please Log in or Create an account to join the conversation.
-
kuk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
11 years 3 weeks ago #1715
by kuk
Not exactly but what works now:
From URL: /publicweb-dev/de/.*/cat-center-publications-en/
To URL: http://{siteurl}/en/{pathltrim /publicweb-dev/de/}{queryfull}
OR
To URL: http://{siteurl}/en/{pathltrim {baseonly}/de/}{queryfull}
Redirect: 301
Request only: Checked
Unfortunately is {baseonly} in "From URL" not possible (for site moving reasons) but I am glad to have a solution now.
Many thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds