Add page link locations to database