Is Server.Transfer invisible to Google?

I want to make some changes to my website that needs to rewrite the url in order to keep the old urls. I cannot use the correct URL rewriting because I have very limited control from my hosting provider.

Since I use ASP.NET and all my pages have the .aspx extension, one of my ideas was to put something in global.asax in the Application_BeginRequest event. This can check if the requested page URL is one of the old ones and use Server.Transfer to open the correct page.

My question is, will it pass this invisible to Google? I do not want my ranking on Google to be affected.

+5
source share
3 answers

Server.Transfer happens entirely on the server side, so any client (including Google) will not know about it.

+9
source

The client (browser or bot) will have no idea what happened Server.Transfer. He will see that he requested the given URL and received the content you returned. There is no response to the client saying that you moved things (that would be Response.Redirect).

In your case, it sounds like this means that you will have two URLs returning the same content - two identical pages - which can affect how search indexes handle the content (and, of course, means that you end up with people linking to both URLs, which may affect the rank of each URL).

, , URL- . Google, , http://example.com/foo.aspx, http://example.com/bar.aspx, , , () URL- http://example.com/bar.aspx, , :

<link rel="canonical" href="http://example.com/bar.aspx" />
+1

Google was only worried about the content of the page; it was not worried about how the content was created on the web server. Since Server.Transfer is completely internally linked to the web request, I think you should be fine with the ratings of your site.

0
source

All Articles