@extends('statamic::layout') @section('title', 'Redirects') @section('content')

Redirect

@if(! config('statamic.redirect.enable', true))
Redirect is currently disabled. Change the statamic.redirect.enable config value to true to enable redirects & logging.
@endif @if((! $cleanupLastRanAt || \Illuminate\Support\Carbon::createFromTimestamp($cleanupLastRanAt) < now()->subDays(2)) && app()->environment() !== 'local')
Error cleanup has not ran for {{ $cleanupLastRanAt ? \Illuminate\Support\Carbon::createFromTimestamp($cleanupLastRanAt)->diffForHumans() : '2 days' }}.
It should be running every day, make sure you run your Laravel schedule.
@endif @if(config('statamic.redirect.log_hits'))

Last month

@include('redirect::components.lineChart', ['data' => $notFoundMonth])

Last week

@include('redirect::components.lineChart', ['data' => $notFoundWeek])

Last day

@include('redirect::components.lineChart', ['data' => $notFoundDay])
@endif @include('statamic::partials.docs-callout', [ 'topic' => 'Statamic Redirect', 'url' => 'https://statamic.com/addons/rias/redirect' ]) @endsection