Forum Discussion
davidfisher
Cirrus
Jun 14, 2020irule to redirect directly to en uri along with https
Hi We have multiple requirements to improve the page load times. The second part is easy but the first one sounds tricky. Can the https redirect be done in a way that the website directly goes to...
Mayur_Sutare
MVP
Jun 15, 2020Hello,
Please try below iRule, this should work.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ar"} {
HTTP::redirect https://domain/ar
} else {
HTTP::redirect https://domain.com/en
}
}
Hope it works,
Mayur
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects