Forum Discussion
Vishakh_Krishna
Nimbostratus
Mar 15, 2015irule for URL redirection and response content patience page
Dear Team,
We have a URL which was decommissioned. However we didnt want to inform the users regarding the change of URL since it is kept as favourite for entire users.
DNS entry for decommision...
Arie
Altostratus
Mar 16, 2015HTTP::redirect issues a 302 (Temporary Redirect). Since the URL has been decommissioned you will want to use a Permanent Redirect (301). Permanent redirects will instruct clients and search engines alike to go directly to the new location in the future.
To get the iRule to issue a permanent redirect use:
HTTP::respond 301 Location "http://www.newdomain.com/newpath"Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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