Forum Discussion
Redirect iRule differences...
I wasn't aware of how this caused issues for SEO but the following article seems to explain it a bit.
https://www.incrementors.com/blog/why-302-redirect-can-hurt-your-website-and-seo-efforts/
Now from a technical standpoint, the biggest difference between "HTTP::redirect" and "HTTP::respond" is that redirect is always an HTTP 302 where as a respond allows you to respond with a specific HTTP status code, in this instance you are responding with a 301. If additional changes to the redirect are coming soon then you might opt for an "HTTP::redirect" and then when it's permanent you can configure "HTTP::respond 301". If you plan on making this switch you might consider using "HTTP::respond 302" and then changing it to "301" later so that the majority of the syntax remains the same.
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