Forum Discussion
Albert__Tase_70
Nimbostratus
Aug 03, 2010adding to a redirect
Hello need some help trying to grab a piece of the uri and append it to the redirect
for example user goes to www.bbb.com wants to get redirect via a 301 to https://bbb.com/yyyy and if t...
hoolio
Cirrostratus
Aug 06, 2010I don't think user-agents will include anchors in the request sent to the web app. The browser should make a request using the URI minus the anchor and then use the anchor to go to a specific section in the page. You can test this by logging the HTTP::uri value for a request like https://www.example.com/xyx/trackingid=8888 and see if the URI is logged as / or /xyx/trackingid=8888.
In concept though, you can send a 301 redirect using:
HTTP::respond 301 Location "https://www.example.com/new_uri"
Aaron
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