Fixed page titles & page slugs not working when in a sub directory