Fixing wrong url for affliate page