# Help with Redirect

**URL:** <https://community.f5.com/t/help-with-redirect/52184>\
**Category:** Technical Forums\
**Tags:** dev, irules, devops, application-delivery\
**Created:** [May 10, 2009, 6:42pm UTC](https://community.f5.com/t/help-with-redirect/52184 "2009-05-10T18:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkat\_96085](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@Venkat\_96085](https://community.f5.com/u/Venkat_96085)\
**Post date:** [May 10, 2009, 6:42pm UTC](https://community.f5.com/t/help-with-redirect/52184/1 "2009-05-10T18:42:19Z")

</div>

Hi,

I want to write an iRule for redirection but I am unable to do so. I want to read whole URL for example [http://www.xyz.com](http://www.xyz.com) and then redirect it to [http://www.abc.com/index.html](http://www.abc.com/index.html).

PLease help!!!

Thanks,

Venkat

---

<div class="post-metadata">

**Author:** ![The\_Bhattman](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/the_bhattman/32/13958_2.png) [@The\_Bhattman](https://community.f5.com/u/The_Bhattman)\
**Post date:** [May 11, 2009, 11:22am UTC](https://community.f5.com/t/help-with-redirect/52184/2 "2009-05-11T11:22:21Z")

</div>

[Click here](http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__host.html) to take a look at the following examples that may answer your question.

CB
