Fix canonical url for htmldir. Refs #556