Fine tuning 404 error traffic.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DirkPitt
    Confirmed User
    • Sep 2002
    • 357

    #1

    Fine tuning 404 error traffic.

    I see a lot of posts about redirecting 404 traffic to sponsors or somewhere. My question is: are most of the surfers that get those 404 errors (which are a lot) are surfers snooping around looking for something or are they just legitimate mistakes?

    I am talking about a pay site so if there were a % of legitimate mistakes I would want them to go back to the index page not a sponsor. Now if they were snooping I would want them sent somewhere else, not index.

    Just wanted anybodies $.02.

    Thanks
    Thanks,
    Kit
  • aztecvision
    Confirmed User
    • Feb 2003
    • 979

    #2
    why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor...

    Comment

    • DirkPitt
      Confirmed User
      • Sep 2002
      • 357

      #3
      Originally posted by aztecvision
      why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor...
      How do you set that up? Through .htaccess
      Thanks,
      Kit

      Comment

      • Vox
        Confirmed User
        • Mar 2002
        • 2710

        #4
        Just add this to your htaccess

        ErrorDocument 400 http://www.domain.com/error.html
        ErrorDocument 401 http://www.domain.com/error.html
        ErrorDocument 403 http://www.domain.com/error.html
        ErrorDocument 404 http://www.domain.com/error.html
        ErrorDocument 500 http://www.domain.com/error.html


        error html is a FPA for some sponsor, or you can take it out and send them to your front page.
        Social profile assassination for hire

        Comment

        • DirkPitt
          Confirmed User
          • Sep 2002
          • 357

          #5
          Originally posted by aztecvision
          why not check the referrer? if coming from your site, send it to the home page, else send it to the sponsor...
          Cool but can/how do you redirect 404 traffic FROM your site to the home page and redirect 404 traffic NOT from your site to a sponsor?
          Thanks,
          Kit

          Comment

          • DirkPitt
            Confirmed User
            • Sep 2002
            • 357

            #6
            any late nighters know
            thanks
            Thanks,
            Kit

            Comment

            • RockDaddy
              Confirmed User
              • Jul 2001
              • 750

              #7
              AuthUserFile /dev/null
              AuthGroupFile /dev/null
              RewriteEngine On
              RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
              RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
              RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]

              Comment

              • SothArtist
                Registered User
                • Oct 2002
                • 366

                #8
                Dirk Pitt! excelent nick

                Know if theres anymore coming out?

                Comment

                • DirkPitt
                  Confirmed User
                  • Sep 2002
                  • 357

                  #9
                  Originally posted by RockDaddy
                  AuthUserFile /dev/null
                  AuthGroupFile /dev/null
                  RewriteEngine On
                  RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
                  RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
                  RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]
                  This is what I already have in an .htaccess file. How would I incorporate the rest of the (above) script? I tried some different things but could not get it to work. Kept going to the RewriteRule's url.
                  Thanks

                  <---------what I have already---------->

                  order allow,deny
                  deny from 24.128.16.113
                  allow from all

                  RewriteEngine On
                  RewriteCond %{HTTP_USER_AGENT} ^.*WebZIP.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Stripper.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Offline.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Copier.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Crawler.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Snagger.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Teleport.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Reaper.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Grabber.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Sucker.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Downloader.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Siphon.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Collector.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Mag-Net.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Widow.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Snake.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*gotit.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Vacuum.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Pump.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*HMView.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*HTTrack.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*JOC.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*likse.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Memo.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*pcBrowser.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*SuperBot.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*leech.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Mirror.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Recorder.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*GrabNet.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Likse.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Navroad.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*attach.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Magnet.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Surfbot.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Bandit.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Ants.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Buddy.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*Whacker.*$ [OR]
                  RewriteCond %{HTTP_USER_AGENT} ^.*FileHound.*$

                  RewriteRule /* http://www.teenphenomenon.com/ [R,L]
                  Thanks,
                  Kit

                  Comment

                  • DirkPitt
                    Confirmed User
                    • Sep 2002
                    • 357

                    #10
                    Originally posted by RockDaddy
                    AuthUserFile /dev/null
                    AuthGroupFile /dev/null
                    RewriteEngine On
                    RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
                    RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
                    RewriteRule /* http://full-page-ad-or-sponsor.com/ [R,L]
                    This script won't let any traffic in...

                    If your NOT from yourdomain.com or www.yourdomain.com than redirect to full-page-ad-or-sponsor.com

                    I'm I missing something here? Input from anyone that can help.
                    Thanks
                    Thanks,
                    Kit

                    Comment

                    • DirkPitt
                      Confirmed User
                      • Sep 2002
                      • 357

                      #11
                      Originally posted by SothArtist
                      Dirk Pitt! excelent nick

                      Know if theres anymore coming out?
                      No more Dirk Pitt, but Kurt Austin is the new NUMA guy. Have you read any of these?
                      Thanks,
                      Kit

                      Comment

                      Working...