We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5282
    • 147 Posts
    please release this fix quickly, google has been indexing plenty of 404 error pages of my site ...
      i’m not a native english speaker, sorry if there are any mistakes ! smiley

      Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
      • 31337
      • 258 Posts
      It’s being worked on as quickly as possible. If it’s that urgent, you’re certainly welcome to grab the code and submit a patch if you can get to it faster than the coding team.
        • 5282
        • 147 Posts
        unfortunately, i’m a php-illiterate laugh ( but i’m planning to learn php soon smiley ), moreover i’m so busy ... ( studies )
        but it’s not that urgent don’t worry, when i said plenty of 404 pages, there are three smiley ( among a 20 pages site ^^ )

        bye
          i’m not a native english speaker, sorry if there are any mistakes ! smiley

          Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
          • 5282
          • 147 Posts
          i have just one more question, when will be released the next modx version ?? i read on modx.bugs that this 404 bug will be fixed in next version, and i’m so impatient ...
          i just changed all the aliases of all my pages ( for a better google ranking ), and google is still indexing the previous ones ....
            i’m not a native english speaker, sorry if there are any mistakes ! smiley

            Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
            • 22301
            • 1,084 Posts
            i just do snippet

            $header = "HTTP/1.0 404 Not Found\n";
            header($header);


            and put him into 404 page
              [img]http://jurist-info.ru/pic/rrr.jpg[/img]

              Безжалостный пияр!
              Artima -- неуч!
              Осторожно: преступная локализация -- modx-cms.ru
              Баштанник Андрей -- мегапрограммер из Белоруссии и поедатель говна, очень критично настроенный молодой человек!

              Дисклеймер для общительных: даю сам себе право транслировать в открытый эфир содержание лички, just for fun
              • 5282
              • 147 Posts
              it doesn’t work ....
              when i look at the response header of the page ( with the FF Web Dev Toolbar Extension ), there is a "404 OK", weird isn’t it ? ( it seems the snippet couldn’t "override" the header that was sent first )
              thx

              if you have any fix, please share smiley
                i’m not a native english speaker, sorry if there are any mistakes ! smiley

                Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
                • 18397
                • 3,250 Posts
                That won’t work because headers need to be sent before page content. PHP may just be surpressing its errors...
                  • 22815
                  • 1,097 Posts
                  There are of course a near-infinite number of 404 "pages", and this is potentially a major issue.

                  Quote from: vbrilon at Apr 30, 2006, 11:11 AM

                  The problem was actually fixed, and then accidentaly unfixed in the process of putting out the security release recently. Look for an update very soon with a fix (again grin)

                  Quote from: vbrilon at Apr 30, 2006, 02:22 PM

                  It’s being worked on as quickly as possible. If it’s that urgent, you’re certainly welcome to grab the code and submit a patch if you can get to it faster than the coding team.

                  Some clue of how fast the coding team would otherwise get to it (and Victor, it’s assigned to you) would be helpful in figuring out whether I can get to it faster!

                  This isn’t as urgent as I first thought, as I’ve realised there’s another solution to the Google issue (see below) - but still I expect fake 404 pages to pass a 404 code to the agent if not the server and would be happier if MODx did that.

                  If it’s going to be more than a week or so, then I volunteer to pick up your previous fixed code and reapply it to 0.9.2.1. If you could just tell me where I can grab that fixed code from!

                  The bug report at http://modxcms.com/bugs/task/255?tasks=last mentions a fix at : http://modxcms.com/forums/index.php/topic,1052.0.html but I cannot access that forum page - if you could please PM me the code, it would make this do-able.

                  Alternatively, if you can’t get the code to me, let me know and I’ll investigate other avenues.

                  Fixing the Google issue
                  There are also 2 potential ways of solving the Google problem, by asking it not to index the fake 404 pages:
                  1) Custom robots.txt file with known (old) pages disallowed
                  2) Add
                  <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
                  to a custom template for the 404 page. (I guess you only want NOINDEX there but I don’t know if that would work so it’s probably best to leave it as per the official example.)
                  For more on this angle, see http://www.google.com/support/webmasters/bin/answer.py?answer=35303

                  I’m going to put the meta tag in my 404 template, it seems the best way forward.
                    No, I don&#39;t know what OpenGeek&#39;s saying half the time either.
                    MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                    Forum: Where to post threads about add-ons | Forum Rules
                    Like MODx? donate (and/or share your resources)
                    Like me? See my Amazon wishlist
                    MODx "Most Promising CMS" - so appropriate!
                    • 5282
                    • 147 Posts
                    thx for the tip, i didn’t think to the search engines tags !
                      i’m not a native english speaker, sorry if there are any mistakes ! smiley

                      Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
                      • 5282
                      • 147 Posts
                      hi again wink
                      i added the robots meta tag in the 404 error page, i hope it will work ( google doesn’t seem to crawl my site very often ... )
                      by the way, i am trying the etomite fix ( see the 1st post of this thread ), the solution is to modify the index.php file around line 700, but mine only have 100 ones at most ...
                        i’m not a native english speaker, sorry if there are any mistakes ! smiley

                        Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )