{% extends "paxalia/base.html" %} {% load static i18n %} {% block page_title %}{% trans "Broken Links" %}{% endblock %} {% block page_subtitle %}{% trans "404s and the referrers pointing at them" %}{% endblock %} {% block extra_css %} {% endblock %} {% block filter_bar %} {% include 'paxalia/includes/filter_bar.html' %} {% endblock %} {% block dashboard_content %}
{% trans "Total 404s" %} {{ total_404s }}

{% trans "Most-hit broken paths" %}

{% if top_broken_paths %} {% for row in top_broken_paths %} {% endfor %}
{% trans "Path" %} {% trans "Hits" %} {% trans "Last seen" %}
{{ row.path }} {{ row.count }} {{ row.last_seen|date:"Y-m-d H:i" }}
{% else %}
{% trans "No 404s in this date range." %}
{% endif %}

{% trans "Referrers pointing at a 404" %}

{% trans "A referrer here means something (an internal link, an external site) is pointing at a page that no longer resolves — usually more worth fixing than a 404 with no referrer, which is often just a scanner probing random paths." %}

{% if top_referrers %} {% for row in top_referrers %} {% endfor %}
{% trans "Referrer" %} {% trans "Count" %}
{{ row.referrer }} {{ row.count }}
{% else %}
{% trans "No referred 404s in this date range." %} {% trans "This means the recorded 404 requests did not include a usable HTTP referrer. Check the Broken Paths table for scanners, stale bookmarks, or direct requests." %}
{% endif %}
{% endblock %} {% block page_scripts %} {% endblock %}