Ask Your Question

Missing link URL on 404 page

asked 2012-05-04 10:45:02 -0600

todofixthis's avatar

updated 2012-05-04 10:46:04 -0600

While investigating a 404 error in my GWT account (, I noticed that one link on the 404 page goes to... the same page!

Screenshot of web inspector highlighting an anchor tag with an empty href attribute

Here's where the link appears on the page:

Screenshot indicating location of the broken link on the 404 page

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-04 11:33:08 -0600

zaf's avatar

updated 2012-05-04 11:47:16 -0600

True, it happens to me also. Until it's commited by the development team, you may want to edit file skins/default/templates/404.jinja.html and instead of (around line 20)

<a href="{{feedback_site_url}}" target="_blank">


<a href={% if settings.FEEDBACK_SITE_URL %}
                    {% else %}
                        "{% url feedback %}?next={{request.path}}"
                    {% endif %}>

That should work, I just copied it from footer.html. For your changes to take affect you should then run

python install
python collectstatic


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-04 10:45:02 -0600

Seen: 1,210 times

Last updated: May 04 '12