Prepend when permalink shows shop base. Closes #2655.