Removes site.mainurl from config