Edit and delete URLs use getDisplayURL()
Fix for HTTP_X_FORWARDED_PROTO
Removing unnecessary code