Use substr instead of snippet for base url.