Forum Discussion
DudiTrustnet_33
Oct 30, 2017Nimbostratus
Create iRule 404 Page redirect
Hi All
i have a web site that go
https://mysite.com/test
i want to create iRule that says
if someone write the site with mistake for example
https://mysite.com/tst (tst instead of test...
- Oct 30, 2017
Create an iRule as below:
when HTTP_RESPONSE { if { [HTTP::status] contains "404"} { HTTP::redirect "" } }
Assuming you will have an http and https version, you will need to apply this iRule to the relevant VS.
Gonzalex_330537
Cirrostratus
Create an iRule as below:
when HTTP_RESPONSE { if { [HTTP::status] contains "404"} { HTTP::redirect "" } }
Assuming you will have an http and https version, you will need to apply this iRule to the relevant VS.
Gonzalex_330537
Oct 30, 2017Cirrostratus
Of course ;)
Do you mind marking this as answered, please.
thanks.
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