Bug fix for site not working in root.