connected all pages to new directories