Fix the single layout file so that links for tags and categories point to the right URL when site in not at the root of domain