iRule, Redirect "SEARCH ENGINE FRIENDLY"
Hi We have already Redirects in place which all work as expected. Our Marketing told us now that one Redirect isn't "SEARCH ENGINE FRIENDLY"
They checked it on the following Website: http://www.webconfs.com/redirect-check.php
the Redirect itself ist working. It seems that the Problem exist if the Domain afterwards is still the same. Or is the Problem because we just Change the host and Keep the uri? How can we solve this Problem? any Ideas?
NOT Working: when HTTP_REQUEST { if { [HTTP::host] contains "www.domain1.ch" } { HTTP::redirect http://www.domain1.ch[HTTP::uri] } }
The error message we get is: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) Either http://domain.com is NOT REDIRECTING to any URL or the redirect is NOT SEARCH ENGINE FRIENDLY
Working: when HTTP_REQUEST { if { [HTTP::host] contains "www.domain1.ch" } { HTTP::redirect http://www.domain2.com/de/solutions[HTTP::uri] } }
The message we get here is: Found redirect to http://www.domain1/de/solutions/. The Redirect is Search Engine Friendly