{% extends "layouts/panel.html" %} {% load i18n %} {% load ravix_ui %} {% block title %}{% trans "Redirects" %}{% endblock %} {% block page_title %}{% trans "Redirects" %}{% endblock %} {% block content %}

{% trans "Redirects" %}

{% trans "Old addresses that are moved to a new address after becoming 404. When the slug of a published post or page changes, a 301 redirect is created automatically." %}

{% icon "plus" 18 %} {% trans "New redirect" %}
{% if redirects %}
{% for r in redirects %} {% endfor %}
{% trans "Old path" %}{% trans "New path" %}{% trans "Code" %}{% trans "Source" %}
{{ r.old_path }}{{ r.new_path }}{{ r.status_code|fa_digits }} {% if r.is_auto %}{% trans "Automatic" %}{% else %}{% trans "Manual" %}{% endif %}{% if r.note %} — {{ r.note }}{% endif %} {% icon "edit" 16 %} {% icon "trash" 16 %}
{% include "partials/_pagination.html" %} {% else %}
{% trans "No redirect has been registered." %}
{% endif %}
{% endblock %}