Forum Moderators: phranque
06/26 05:45:30 /dir1/example1.html%3E%3Cimg%20src= 302 -
06/26 05:45:38 /dir1/example2.html%3E%3Cimg%20src= 302 -
(The junky parts aren't my code so either someone's copy-pasted and/or messed up a link somewhere.)
Currently everyone bumping into a 'normal' 404 File Not Found gets 302'd to a Custom Error [httpd.apache.org] page -- including Googlebot.
ErrorDocument 404 http://www.example.com/404.html
So either I'm doing something wrong (likely:) or I'm hoping I can just tell Googlebot to, um, ignore 302s?
SetEnvIf Request_URI "%3E%3Cimg%20src=$" ignore
PassEnv from env=ignore
RedirectMatch 301 Googlebot .....?
BrowserMatch Googlebot!302 .....? (there's a space before the exclamation mark)
(Yeah, I know. None of those make any sense but SetEnv [httpd.apache.org], etc., is all I could come up with that made any sense to me, sort of:)
TIA for your help!
ErrorDocument 404 http://www.example.com/404.html
ErrorDocument 404 /404.html