Forum Discussion
301 Redirect Not Working
OK, we need to redirect the following using a 301: http://www.ourwebsite.co.uk/mall/departmentpage.cfm/customer/_249553/1/Product1 to http://www.newwebsite.co.uk/product/Product1 I've tried using the F5 iRule redirection generator which gave me: when HTTP_REQUEST { if {[HTTP::uri] equals {http://www.ourwebsite.co.uk/mall/departmentpage.cfm/customer/_249553/1/Product1}} {HTTP::uri {http://www.newwebsite.co.uk/product/Product1} } } Which didn't work. Any help would be kindly appreciated. Thank you
- mbuk2k_59598NimbostratusI've also tried the following and although the syntax was accepted by the F5 like the iRule above, the actual redirect didn't work:
- mbuk2k_59598NimbostratusAll of a sudden picked up and started working, it might have been that I needed a / on the end of Product1
- Richard__HarlanHistoric F5 AccountIf you run into problem and are trying to troubleshoot issuse I throw in some debug statments to make sure what I think it should be seeing is what it is seeing.
Recent Discussions
Related Content
* 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