Fixed 404 redirect and CSS issue from within directories