added check for .pdf links and root matching

a link should not end in .pdf
a link should not begin in anything other than http://www.pace or
https://www.pace