Track 404 urls?

10 views
Skip to first unread message

Chillar Anand

unread,
Aug 7, 2016, 1:59:50 AM8/7/16
to nikola-discuss
I have migrated from blogger to nikola. There were some broken links while migrating. I didn't know about it until one of my friend told me.

So, I was wondering if there is a way to track 404 pages on nikola or on any static site?

I have hosted blog on gh-pages and there is are no servers.

Chris Warrick

unread,
Aug 7, 2016, 2:56:55 AM8/7/16
to Nikola—Discuss
A static site generator itself can’t help you. However, you can create
a custom 404 page [0] on GitHub Pages that will use client-side
JavaScript to make you aware of it — statistics services like Google
Analytics probably could help you with 404 errors.

(PS. there are servers, you just don’t control them.)

[0]: https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Boris ( Mario Pozzo )

unread,
Aug 8, 2016, 10:15:46 AM8/8/16
to nikola-...@googlegroups.com
Or maybe use a tool like this https://davidwalsh.name/broken-link-checker
It will check your links and give you a report. If you use it with nikola server, it won't even create false views on your pages, as you can test on your local copy.
Disclaimer: I just found out about it and have not tested it much.

Mario

Roberto Alsina

unread,
Aug 8, 2016, 10:16:45 AM8/8/16
to nikola-...@googlegroups.com
Nikola comes with its own link checker, just in case :-)

--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages