set linkBaseURL to URL of current page