micschk/silverstripe-404logger

Logs 404 errors to the database (link & referrer + count), including report for CMS

Installs: 245

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 2

Type:silverstripe-vendormodule

2.0.0 2021-12-26 13:54 UTC

This package is auto-updated.

Last update: 2024-11-26 20:23:11 UTC


README

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