Fix for non-root routes

non-default directory pages are also being appended by domain folder