Remove deprecated helper PageUrl

Fixes #2217

-Removed function
-Removed associated tests