DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-13-2006, 11:13 AM   #1
Steve Rindsberg
Staff
 
Join Date: Nov 2004
Posts: 6,742
Default Google SiteMap doesn't like custom 404 pages

When you sign up for Google SiteMap, they have you put a specially named file on your site (I suppose to verify that you've got rights to the site) then they have you click a Verify button, which presumably checks for the existence of the file.

It must check some other things, specifically looking for files that aren't there because I found that if I had a custom 404 page, Google would complain about it. It barked because it got a 200 ("everything's fine, file was found") message when it was looking for a 404.

I *think* it's reasonable that it would get a 200 whenever there's a custom error page. The web server is *supposed* to serve up a page rather than handing back a 404 and letting the browser deal with it.

If it handed back a 404 AND a custom error page, it wouldn't make sense, unless the browser's supposed to be smart enough to recognize such an odd situation.

Surely google's run across custom 404 pages before? It seems very odd that they can't cope.

IAC, the workaround's simple enough: open an ftp window on the site, rename .htaccess to something else temporarily, click the verify button on the google Sitemap page, it works, rename something else back to .htaccess and everybody's happy.

Renaming the custom error page instead *might* work but it can also trigger a bug in Apache:

Receive request for page
Look for page
Page isnt there
Check .htaccess
It says to display custom error page
Request custom error page, which takes us back to the beginning of the loop.

One or two browsers left open doing this dance can *really* run up your hit count at the ISP. ;-)

   
__________________
Steve Rindsberg
====================
www.pptfaq.com
www.pptools.com
and stuff
Steve Rindsberg is offline   Reply With Quote
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Custom Fonts on Web Pages RJ Emery Web Design 34 01-14-2007 02:58 PM
Printing Custom sized documents jts General Publishing Topics 4 09-13-2006 12:12 PM
Custom 404 error page... terrie Web Site Building & Maintenance 15 02-24-2005 01:32 PM


All times are GMT -8. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.