Add domain path to the error pages.