You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are three 404s in our latest analytics report that are caused by redirects set up within cfgov/cfgov/urls.py, rather than redirects.conf or the Wagtail admin panel:
/owning-a-home/resources/adjustable_rate_loan_estimate.pdf redirects to /static/owning-a-home/resources/adjustable_rate_loan_estimate.pdf
/owning-a-home/resources/mortgage_closing_forms.pdf redirects to /static/owning-a-home/resources/mortgage_closing_forms.pdf
/owning-a-home/resources/checklist_mortgage_closing.pdf redirects to /static/owning-a-home/resources/checklist_mortgage_closing.pdf
There are redirects set up in Wagtail for all six of these 404s, which should lead to these URL paths respectively:
I do not know enough about the static assets that still exist within owning-a-home to know whether and to what degree this operation (which was set up back in 2016) is still necessary, but at a minimum I think we need to somehow make an exception for PDF files, which all should live on the files server at this point.
The text was updated successfully, but these errors were encountered:
There are three 404s in our latest analytics report that are caused by redirects set up within
cfgov/cfgov/urls.py
, rather thanredirects.conf
or the Wagtail admin panel:/owning-a-home/resources/adjustable_rate_loan_estimate.pdf
redirects to/static/owning-a-home/resources/adjustable_rate_loan_estimate.pdf
/owning-a-home/resources/mortgage_closing_forms.pdf
redirects to/static/owning-a-home/resources/mortgage_closing_forms.pdf
/owning-a-home/resources/checklist_mortgage_closing.pdf
redirects to/static/owning-a-home/resources/checklist_mortgage_closing.pdf
There are redirects set up in Wagtail for all six of these 404s, which should lead to these URL paths respectively:
The problem is that the redirects set up in Wagtail are being overriden by the wildcard operation in
urls.py
:I do not know enough about the static assets that still exist within owning-a-home to know whether and to what degree this operation (which was set up back in 2016) is still necessary, but at a minimum I think we need to somehow make an exception for PDF files, which all should live on the files server at this point.
The text was updated successfully, but these errors were encountered: