F5-KHAN
Jun 27, 2019Nimbostratus
irule to remove part of uri and combine uri
Hi All,
I am looking for irule to achieve below result.
1. stg.gr.com/content/ga/en/page.html --- content uri should be removed and ga/en should merged in form of /en-ga/
to be 301 redirected to stg.gr.com/en-qa/page.html
e.g. stg.gr.com/content/ga/en/homepage.html to stg.gr.com/en-ga/homepage.html
e.g. stg.gr.com/content/fr/en/homepage.html to stg.gr.com/en-fr/homepage.html
e.g. stg.gr.com/content/ka/en/homepage.html to stg.gr.com/en-ka/homepage.html
similar like /ga/ there are other uris
Appreciate help .
Thanks in advance.