Implement URL handling so that pages are bookmarkable.