Forum Discussion

Dave_73612's avatar
Dave_73612
Icon for Nimbostratus rankNimbostratus
Jul 01, 2009

Multiple 301 redirects and F5 performance

Hi guys,

 

 

I have a requirement to do over 40 301 redirects (google ranking purposes) for one of our websites which I was going to implement via IRule attached to the Virtual server for the site.

 

 

The IRule is structured as follow's:

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] equals "/index.html" } {

 

HTTP::respond 301 Location "blah"

 

}

 

if { [HTTP::uri] equals "/index.html" } {

 

HTTP::respond 301 Location "blah"

 

}

 

if

 

etc covering the 40 redirects.

 

 

I am wondering if there is a "faster" way to write this code?

 

 

Would url rewrites be of any benefit?

 

 

What is the performance overhead of running this Irule?

 

 

Is this the right approach?

 

 

Thanks in advance,

 

 

Dave

 

 

 

11 Replies