Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Bug] Missing Pages Not Showing As Proper 404
Greetings,
I have migrated to Vanilla Forums. For most of my old pages, I was able to do a 301 redirect. However, for a few I was not. I was hoping these would just drop off. However, these pages still return a status of 200 vs. 404. Is there an easy way to correct this?
Example is below:
http://www.doggiepedia.com/pages/gallery/rocky-the-boston-terrier4.php
Thanks,
Eric
I have migrated to Vanilla Forums. For most of my old pages, I was able to do a 301 redirect. However, for a few I was not. I was hoping these would just drop off. However, these pages still return a status of 200 vs. 404. Is there an easy way to correct this?
Example is below:
http://www.doggiepedia.com/pages/gallery/rocky-the-boston-terrier4.php
Thanks,
Eric
Tagged:
0
Comments
There are issues on Github.
As stop gap solution you can add to:
applications\dashboard\controllers\class.homecontroller.php
public function FileNotFound() { header("HTTP/1.1 404 Not Found", True, 404) ...
public function FileNotFound() { header("HTTP/1.1 404 Not Found", True, 404); }
Standard was:
public function FileNotFound() { if ($this->DeliveryMethod() == DELIVERY_METHOD_XHTML) $this->Render(); else $this->RenderException(NotFoundException()); }
Thanks for the help,
Eric