Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Update to redirect search engine highly ranked page

Reply
Thread Tools

Update to redirect search engine highly ranked page

 
 
c676228
Guest
Posts: n/a
 
      02-25-2008
Hi all,

I posted the thread in Jan. and got many responses and I am very appreciated
to those contributors.

Here is my update. After read all suggestions, comments and instructions.
I think use 404 page redirect the users to the new page is doable. But I
believe that I need to brand that redirect with 301 response:
so I replaced the original
Response.Redirect x 'x is new web page addrress
with the following code

Response.Status="301 Moved Permanently"
Response.AddHeader "Location", x

After that I used http://www.seoconsultants.com/tools/headers.asp
to check header information by entering an old page and it did redirect me
to a new page, but I expected that the header informaiton should look like
this: HTTP Status Code - 301 Moved Permanently
But acutally I got the result like this:
HTTP Status Code: HTTP/1.0 200 OK

Did I do anything wrong? What's the best place to put custom 404 page?
My testing server is on the intranet, does that matter?

Thank you.

--
Betty
 
Reply With Quote
 
 
 
 
Steven Cheng
Guest
Posts: n/a
 
      02-26-2008
Hi Betty,

From your description, you use the following page to track the httpheader
of the response of your 404 redirect page but found that no 301 status(you
set) returned, correct?

http://www.seoconsultants.com/tools/headers.asp

I've searched for some other articles on 404 page redirection(SEO approach)
and the code you used below should be correct:

>Response.Status="301 Moved Permanently"
>Response.AddHeader "Location", x


I've also performed test on my local side. I used the "Trace Utility" in
SoapToolkit 3(a tool that can capture http messages) and found that the 301
status does return at first(when the redirect.asp send the redirect header
back), then, the send request(to the new location) will bring back the 200
status. I think this is the behavior you expect, correct? I'm wondering
whether it is the above "headers.asp" page that may not return the correct
headers(or it only return the last page's headers and omit any intermediate
redirection ones).

Please feel free to let me know if there is anything I omited.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <>
>Subject: Update to redirect search engine highly ranked page
>Date: Mon, 25 Feb 2008 10:02:04 -0800


>
>Hi all,
>
>I posted the thread in Jan. and got many responses and I am very

appreciated
>to those contributors.
>
>Here is my update. After read all suggestions, comments and instructions.
>I think use 404 page redirect the users to the new page is doable. But I
>believe that I need to brand that redirect with 301 response:
>so I replaced the original
> Response.Redirect x 'x is new web page addrress
>with the following code
>
>Response.Status="301 Moved Permanently"
>Response.AddHeader "Location", x
>
>After that I used http://www.seoconsultants.com/tools/headers.asp
>to check header information by entering an old page and it did redirect me
>to a new page, but I expected that the header informaiton should look like
>this: HTTP Status Code - 301 Moved Permanently
>But acutally I got the result like this:
>HTTP Status Code: HTTP/1.0 200 OK
>
>Did I do anything wrong? What's the best place to put custom 404 page?
>My testing server is on the intranet, does that matter?
>
>Thank you.
>
>--
>Betty
>


 
Reply With Quote
 
 
 
 
c676228
Guest
Posts: n/a
 
      02-27-2008
Thanks, Steven, for being so thorough.
It's nice you have a trace tool for getting intermediate response status.
I just wish I could download somewhere if there is any free version
--
Betty


""Steven Cheng"" wrote:

> Hi Betty,
>
> From your description, you use the following page to track the httpheader
> of the response of your 404 redirect page but found that no 301 status(you
> set) returned, correct?
>
> http://www.seoconsultants.com/tools/headers.asp
>
> I've searched for some other articles on 404 page redirection(SEO approach)
> and the code you used below should be correct:
>
> >Response.Status="301 Moved Permanently"
> >Response.AddHeader "Location", x

>
> I've also performed test on my local side. I used the "Trace Utility" in
> SoapToolkit 3(a tool that can capture http messages) and found that the 301
> status does return at first(when the redirect.asp send the redirect header
> back), then, the send request(to the new location) will bring back the 200
> status. I think this is the behavior you expect, correct? I'm wondering
> whether it is the above "headers.asp" page that may not return the correct
> headers(or it only return the last page's headers and omit any intermediate
> redirection ones).
>
> Please feel free to let me know if there is anything I omited.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --------------------
> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
> >Subject: Update to redirect search engine highly ranked page
> >Date: Mon, 25 Feb 2008 10:02:04 -0800

>
> >
> >Hi all,
> >
> >I posted the thread in Jan. and got many responses and I am very

> appreciated
> >to those contributors.
> >
> >Here is my update. After read all suggestions, comments and instructions.
> >I think use 404 page redirect the users to the new page is doable. But I
> >believe that I need to brand that redirect with 301 response:
> >so I replaced the original
> > Response.Redirect x 'x is new web page addrress
> >with the following code
> >
> >Response.Status="301 Moved Permanently"
> >Response.AddHeader "Location", x
> >
> >After that I used http://www.seoconsultants.com/tools/headers.asp
> >to check header information by entering an old page and it did redirect me
> >to a new page, but I expected that the header informaiton should look like
> >this: HTTP Status Code - 301 Moved Permanently
> >But acutally I got the result like this:
> >HTTP Status Code: HTTP/1.0 200 OK
> >
> >Did I do anything wrong? What's the best place to put custom 404 page?
> >My testing server is on the intranet, does that matter?
> >
> >Thank you.
> >
> >--
> >Betty
> >

>
>

 
Reply With Quote
 
Steven Cheng
Guest
Posts: n/a
 
      02-28-2008
Hi Betty,

Yes, the SoapToolkit is a free package suite, however, since it is mainly
used for legacy VB based webservice dev(which is not recommended and
supported now), I don't quite recommend you install it(I just installed it
previously and be used to using the Trace utility in it ).

For http trace, you can consider the following web browser add-on
components:

#fiddler for IE
http://www.fiddlertool.com/Fiddler/help/hookup.asp

#Web Development Helper
http://www.nikhilk.net/Project.WebDevHelper.aspx

Both of them are very good for capture and analyize http commucations in
webbrowser.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <>
>References: <CC81DBCC-4E77-464B-9C1E->

<>
>Subject: RE: Update to redirect search engine highly ranked page
>Date: Wed, 27 Feb 2008 13:46:02 -0800


>
>Thanks, Steven, for being so thorough.
>It's nice you have a trace tool for getting intermediate response status.
>I just wish I could download somewhere if there is any free version
>--
>Betty
>
>
>""Steven Cheng"" wrote:
>
>> Hi Betty,
>>
>> From your description, you use the following page to track the

httpheader
>> of the response of your 404 redirect page but found that no 301

status(you
>> set) returned, correct?
>>
>> http://www.seoconsultants.com/tools/headers.asp
>>
>> I've searched for some other articles on 404 page redirection(SEO

approach)
>> and the code you used below should be correct:
>>
>> >Response.Status="301 Moved Permanently"
>> >Response.AddHeader "Location", x

>>
>> I've also performed test on my local side. I used the "Trace Utility" in
>> SoapToolkit 3(a tool that can capture http messages) and found that the

301
>> status does return at first(when the redirect.asp send the redirect

header
>> back), then, the send request(to the new location) will bring back the

200
>> status. I think this is the behavior you expect, correct? I'm

wondering
>> whether it is the above "headers.asp" page that may not return the

correct
>> headers(or it only return the last page's headers and omit any

intermediate
>> redirection ones).
>>
>> Please feel free to let me know if there is anything I omited.
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> This posting is provided "AS IS" with no warranties, and confers no

rights.
>>
>> --------------------
>> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
>> >Subject: Update to redirect search engine highly ranked page
>> >Date: Mon, 25 Feb 2008 10:02:04 -0800

>>
>> >
>> >Hi all,
>> >
>> >I posted the thread in Jan. and got many responses and I am very

>> appreciated
>> >to those contributors.
>> >
>> >Here is my update. After read all suggestions, comments and

instructions.
>> >I think use 404 page redirect the users to the new page is doable. But

I
>> >believe that I need to brand that redirect with 301 response:
>> >so I replaced the original
>> > Response.Redirect x 'x is new web page addrress
>> >with the following code
>> >
>> >Response.Status="301 Moved Permanently"
>> >Response.AddHeader "Location", x
>> >
>> >After that I used http://www.seoconsultants.com/tools/headers.asp
>> >to check header information by entering an old page and it did redirect

me
>> >to a new page, but I expected that the header informaiton should look

like
>> >this: HTTP Status Code - 301 Moved Permanently
>> >But acutally I got the result like this:
>> >HTTP Status Code: HTTP/1.0 200 OK
>> >
>> >Did I do anything wrong? What's the best place to put custom 404 page?
>> >My testing server is on the intranet, does that matter?
>> >
>> >Thank you.
>> >
>> >--
>> >Betty
>> >

>>
>>

>


 
Reply With Quote
 
c676228
Guest
Posts: n/a
 
      02-29-2008
Steven,

Good stuff. I will defintely benefit from it.

Thank you so much.
--
Betty


""Steven Cheng"" wrote:

> Hi Betty,
>
> Yes, the SoapToolkit is a free package suite, however, since it is mainly
> used for legacy VB based webservice dev(which is not recommended and
> supported now), I don't quite recommend you install it(I just installed it
> previously and be used to using the Trace utility in it ).
>
> For http trace, you can consider the following web browser add-on
> components:
>
> #fiddler for IE
> http://www.fiddlertool.com/Fiddler/help/hookup.asp
>
> #Web Development Helper
> http://www.nikhilk.net/Project.WebDevHelper.aspx
>
> Both of them are very good for capture and analyize http commucations in
> webbrowser.
>
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --------------------
> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
> >References: <CC81DBCC-4E77-464B-9C1E->

> <>
> >Subject: RE: Update to redirect search engine highly ranked page
> >Date: Wed, 27 Feb 2008 13:46:02 -0800

>
> >
> >Thanks, Steven, for being so thorough.
> >It's nice you have a trace tool for getting intermediate response status.
> >I just wish I could download somewhere if there is any free version
> >--
> >Betty
> >
> >
> >""Steven Cheng"" wrote:
> >
> >> Hi Betty,
> >>
> >> From your description, you use the following page to track the

> httpheader
> >> of the response of your 404 redirect page but found that no 301

> status(you
> >> set) returned, correct?
> >>
> >> http://www.seoconsultants.com/tools/headers.asp
> >>
> >> I've searched for some other articles on 404 page redirection(SEO

> approach)
> >> and the code you used below should be correct:
> >>
> >> >Response.Status="301 Moved Permanently"
> >> >Response.AddHeader "Location", x
> >>
> >> I've also performed test on my local side. I used the "Trace Utility" in
> >> SoapToolkit 3(a tool that can capture http messages) and found that the

> 301
> >> status does return at first(when the redirect.asp send the redirect

> header
> >> back), then, the send request(to the new location) will bring back the

> 200
> >> status. I think this is the behavior you expect, correct? I'm

> wondering
> >> whether it is the above "headers.asp" page that may not return the

> correct
> >> headers(or it only return the last page's headers and omit any

> intermediate
> >> redirection ones).
> >>
> >> Please feel free to let me know if there is anything I omited.
> >>
> >> Sincerely,
> >>
> >> Steven Cheng
> >>
> >> Microsoft MSDN Online Support Lead
> >>
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no

> rights.
> >>
> >> --------------------
> >> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
> >> >Subject: Update to redirect search engine highly ranked page
> >> >Date: Mon, 25 Feb 2008 10:02:04 -0800
> >>
> >> >
> >> >Hi all,
> >> >
> >> >I posted the thread in Jan. and got many responses and I am very
> >> appreciated
> >> >to those contributors.
> >> >
> >> >Here is my update. After read all suggestions, comments and

> instructions.
> >> >I think use 404 page redirect the users to the new page is doable. But

> I
> >> >believe that I need to brand that redirect with 301 response:
> >> >so I replaced the original
> >> > Response.Redirect x 'x is new web page addrress
> >> >with the following code
> >> >
> >> >Response.Status="301 Moved Permanently"
> >> >Response.AddHeader "Location", x
> >> >
> >> >After that I used http://www.seoconsultants.com/tools/headers.asp
> >> >to check header information by entering an old page and it did redirect

> me
> >> >to a new page, but I expected that the header informaiton should look

> like
> >> >this: HTTP Status Code - 301 Moved Permanently
> >> >But acutally I got the result like this:
> >> >HTTP Status Code: HTTP/1.0 200 OK
> >> >
> >> >Did I do anything wrong? What's the best place to put custom 404 page?
> >> >My testing server is on the intranet, does that matter?
> >> >
> >> >Thank you.
> >> >
> >> >--
> >> >Betty
> >> >
> >>
> >>

> >

>
>

 
Reply With Quote
 
Steven Cheng
Guest
Posts: n/a
 
      03-03-2008
You're welcome

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <>
>References: <CC81DBCC-4E77-464B-9C1E->

<>
<0E72A26D-D7F9-482B-BA0C->
<>
>Subject: RE: Update to redirect search engine highly ranked page
>Date: Fri, 29 Feb 2008 08:56:03 -0800


>
>Steven,
>
>Good stuff. I will defintely benefit from it.
>
>Thank you so much.
>--
>Betty
>
>
>""Steven Cheng"" wrote:
>
>> Hi Betty,
>>
>> Yes, the SoapToolkit is a free package suite, however, since it is

mainly
>> used for legacy VB based webservice dev(which is not recommended and
>> supported now), I don't quite recommend you install it(I just installed

it
>> previously and be used to using the Trace utility in it ).
>>
>> For http trace, you can consider the following web browser add-on
>> components:
>>
>> #fiddler for IE
>> http://www.fiddlertool.com/Fiddler/help/hookup.asp
>>
>> #Web Development Helper
>> http://www.nikhilk.net/Project.WebDevHelper.aspx
>>
>> Both of them are very good for capture and analyize http commucations in
>> webbrowser.
>>
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> This posting is provided "AS IS" with no warranties, and confers no

rights.
>>
>> --------------------
>> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
>> >References: <CC81DBCC-4E77-464B-9C1E->

>> <>
>> >Subject: RE: Update to redirect search engine highly ranked page
>> >Date: Wed, 27 Feb 2008 13:46:02 -0800

>>
>> >
>> >Thanks, Steven, for being so thorough.
>> >It's nice you have a trace tool for getting intermediate response

status.
>> >I just wish I could download somewhere if there is any free version
>> >--
>> >Betty
>> >
>> >
>> >""Steven Cheng"" wrote:
>> >
>> >> Hi Betty,
>> >>
>> >> From your description, you use the following page to track the

>> httpheader
>> >> of the response of your 404 redirect page but found that no 301

>> status(you
>> >> set) returned, correct?
>> >>
>> >> http://www.seoconsultants.com/tools/headers.asp
>> >>
>> >> I've searched for some other articles on 404 page redirection(SEO

>> approach)
>> >> and the code you used below should be correct:
>> >>
>> >> >Response.Status="301 Moved Permanently"
>> >> >Response.AddHeader "Location", x
>> >>
>> >> I've also performed test on my local side. I used the "Trace Utility"

in
>> >> SoapToolkit 3(a tool that can capture http messages) and found that

the
>> 301
>> >> status does return at first(when the redirect.asp send the redirect

>> header
>> >> back), then, the send request(to the new location) will bring back

the
>> 200
>> >> status. I think this is the behavior you expect, correct? I'm

>> wondering
>> >> whether it is the above "headers.asp" page that may not return the

>> correct
>> >> headers(or it only return the last page's headers and omit any

>> intermediate
>> >> redirection ones).
>> >>
>> >> Please feel free to let me know if there is anything I omited.
>> >>
>> >> Sincerely,
>> >>
>> >> Steven Cheng
>> >>
>> >> Microsoft MSDN Online Support Lead
>> >>
>> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no

>> rights.
>> >>
>> >> --------------------
>> >> >From: =?Utf-8?B?YzY3NjIyOA==?= <>
>> >> >Subject: Update to redirect search engine highly ranked page
>> >> >Date: Mon, 25 Feb 2008 10:02:04 -0800
>> >>
>> >> >
>> >> >Hi all,
>> >> >
>> >> >I posted the thread in Jan. and got many responses and I am very
>> >> appreciated
>> >> >to those contributors.
>> >> >
>> >> >Here is my update. After read all suggestions, comments and

>> instructions.
>> >> >I think use 404 page redirect the users to the new page is doable.

But
>> I
>> >> >believe that I need to brand that redirect with 301 response:
>> >> >so I replaced the original
>> >> > Response.Redirect x 'x is new web page addrress
>> >> >with the following code
>> >> >
>> >> >Response.Status="301 Moved Permanently"
>> >> >Response.AddHeader "Location", x
>> >> >
>> >> >After that I used http://www.seoconsultants.com/tools/headers.asp
>> >> >to check header information by entering an old page and it did

redirect
>> me
>> >> >to a new page, but I expected that the header informaiton should

look
>> like
>> >> >this: HTTP Status Code - 301 Moved Permanently
>> >> >But acutally I got the result like this:
>> >> >HTTP Status Code: HTTP/1.0 200 OK
>> >> >
>> >> >Did I do anything wrong? What's the best place to put custom 404

page?
>> >> >My testing server is on the intranet, does that matter?
>> >> >
>> >> >Thank you.
>> >> >
>> >> >--
>> >> >Betty
>> >> >
>> >>
>> >>
>> >

>>
>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KISS4691, a potentially top-ranked RNG. geo C Programming 87 12-06-2010 06:29 AM
Dpreview's reviews "Highly Recommended" is highly questionable RichA Digital Photography 32 08-18-2009 09:45 AM
| SEO , Search Engine Optimizer, SEARCH OPtiMIzAtIoN with SeaRch OPtiMizer optimizer.seo@gmail.com Digital Photography 0 04-22-2007 04:20 AM
MCSE electives ranked by difficulty GregB369 MCSE 7 04-13-2004 06:33 PM
Olympus C-750 ranked #1 Ms. Jaime Digital Photography 29 10-04-2003 12:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57