WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Google Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Google Discussion Forum Google Discussion forum is for topics specifically related to Google. There is a subforum dedicated to AdSense/AdWords subjects.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-09-2006, 10:27 AM
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Winter Park, FL
Posts: 605
KeithO RepRank 0
Default Google Sitemap and custom 404 pages

I submitted a web site to GS and when I tried to verify the blank page, I get this error:
Quote:
We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
This configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.

Please modify your web server configuration to return a status of 404 in the header of 404 pages. Note that we do a HEAD request (and not a GET request) when we check for this. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status again and we'll recheck your configuration.
We have a custom 404 page and this is in an NT4 enviroment. Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 01-09-2006, 11:45 AM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 

Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,217
ADAM Web Design RepRank 0
Default

Is it ASP?

If so, try this if the page doesn't actually exist before the page loads.

Code:
Response.Status = "404 Not Found"
Again, this has to go before any page content itself loads.

That usually seems to work.
Reply With Quote
  #3 (permalink)  
Old 01-09-2006, 01:47 PM
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Winter Park, FL
Posts: 605
KeithO RepRank 0
Default

excellent. that worked. thank you.
Reply With Quote
Reply

  WebProWorld > Search Engines > Google Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0