Forum Moderators: open

Message Too Old, No Replies

Effective redirects

Will Google follow URL in query string?

         

jgar

10:50 am on Nov 3, 2002 (gmt 0)

10+ Year Member



I have been trying to solve the problem of Google not following an ASP server-side redirect in the form:

response.redirect "http://www.<domain name>.com"

However, could this problem be solved if the URL is included in the querystring?

ie

response.redirect "http://www.<domain name>.com?url=http://www.<domain name>.com

As always, look forward to any comments

Cheers, Jgar

andreasfriedrich

3:05 am on Nov 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google does handle 301 Moved Permanently messages [webmasterworld.com] as it is suppoed to.

The problem is most likely that ASP will send a 302 status code when you do a response.redirect "http://www.<domain name>.com". You need to make sure a HTTP/1.1 301 Moved Permanently status code is sent as the first line of the HTTP response.

Google not following an ASP server-side redirect

If I were Google I wouldn´t know how to follow ASP server side redirects as well since I would only understand HTTP. And I would know of the redirect only if I am being told. If everything happens on the server, how would I know that the server wants me to request a resource identified by a different URI. ;)

Andreas