Forum Discussion
RyanF5_169352
Sep 08, 2016Nimbostratus
New webpage URI redirect or rewrite
My company launched our new webpage last night and we're seeing error pages because google hasn't flushed the old site yet. Is it possible to set up a redirect, or a rewrite that would look something...
Stanislas_Piro2
Sep 08, 2016Cumulonimbus
Hi,
redirect is better than rewrite as this is the new uri.
when HTTP_REQUEST {
if { [HTTP::path] equals "/top-navigation/cad-models.aspx" {
HTTP::respond 301 noserver Location "/top-navigation/cad-models.aspx/aaa?"
}
}
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