Insert base_url into hyperlinks so links work on sites located in subdirectories