create root directory before write_page is called
replace domain setting with extended url settings
Merge branch 'added_url_setting'