Forum Moderators: open

Message Too Old, No Replies

404 custom error help

         

Night_Hawk

10:42 pm on Jan 22, 2003 (gmt 0)

10+ Year Member



I hope this thread is more responsive than the original thread i posted the problem in the first time.

this is the first post.
[webmasterworld.com...]

Let me explain with more details

I have a dynamic site, to make more user and SE friendly i created the 404.asp to handle all the pages ended with id=999, it works great, i am getting status 200 and the correct content is showing and those pages has been indexed.

When i started the website business, i was under the impression that NO SE will index my pages with the?,& and = , so i created a static page for each product on my site.

Since google indexed my dynamic pages i blocked the googlebot from the static pages.

I recently have been paying attention to the log files, I noticed that inktomi has about 400 of my static pages, which is great but i also recently moved my site to another host and i did not move the static pages and i do not want to move them (too much hassel updating).

I want inktomi to get the new equivelent page, i added a segment to my code that handel that, but it is not working the way it should.

when i run the Server Header Checker i get Status: HTTP/1.1 302 Object moved even though i should get 200 since i am doing a server transfer.

I am being taking to the right content, but the url has the 404.asp?404 in iT.

Do you think since the original url end with .asp has any thing to do with it?

Thanks and i appricate the quick help before inktomi drop all these pages.

AJ

Night_Hawk

9:26 am on Jan 23, 2003 (gmt 0)

10+ Year Member



Any one out there?

Xoc

5:58 am on Feb 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When doing a custom error handler, you need to set the Response.Status = 200 in the error handler. Also see this Microsoft note: [support.microsoft.com ]