Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 759 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 759 Bytes

Log 404s to DB

This module provides logging of incoming requests that result in a 404 not found. They are logged & counted along with the referrer.

Installation

Either:

  1. Download or git clone the '404logger' directory to your webroot, or;
  2. Using composer run the following in the command line:

composer require restruct/silverstripe-404logger dev-master

  1. Run dev/build (http://www.mysite.com/dev/build?flush=all)

Usage

Logged 404s are visible under the 'reports' section in the CMS as 'External broken links report'. You can either contact the referrer to get the link updated, or redirect the link at your end using the redirectedurls module