Forum Discussion
url redriction
Can you help me sharing a format for iRule redirection from
https://www.xy.com and from xy.com to https://www.yz.com
3 Replies
have you tried searching and building something yourself? this question gets asked a lot so there are enough examples.
some inspiration: https://devcentral.f5.com/questions/simple-url-redirect-irule
- vigneshkumar_22
Nimbostratus
Boney,
Thanks for your reply.. Yep I had a check on the link that is mentioned.
But there was another example where they use 301 redirect. So i wanted to see which one is better.
https://devcentral.f5.com/questions/irule-for-http-redirect-from-retired-url-to-new-url
in that question they explain the difference.
HTTP::redirect returns 302. if it is permanent, using 301 may be better.
What's the difference between 301 redirects and 302 redirects http://webdesign.about.com/od/http/qt/tip301v302redir.htm
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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