Forum Moderators: open
shortcut is a directory on my server with a default asp page only with the following code in the file.
Will my site have problems indexing with search engines? If so what are my other options in handling this redirect?
Thank you
Matt
<<%Response.Buffer = True
Response.Expires = 0
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
Response.Redirect "../default.asp?action=category&ID=9&order=rank&sort=asc&limit=0" %>>
Google should process the redirect and index the final page. However, I don't think it will get the kind of weight it would get if you delivered content at the shortcut page.
Why can't you put the processing that happens in the home page into a server-side include and include that code into the shortcut page, instead of redirecting?
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it.
Authorization will not help and the request SHOULD NOT be repeated.
If the request method was not HEAD and the server wishes to make
public why the request has not been fulfilled, it SHOULD describe the
reason for the refusal in the entity. If the server does not wish to
make this information available to the client, the status code 404
(Not Found) can be used instead.
Why not a 301?
In which case,(javascript syntax)
Response.Buffer=true;
Response.Status="301 Moved Permanently";
Response.Addheader("Location: [whatever");...]
Response.End();