Get Base URL or a part of URL