Fix shop url to work with non-rewrite installations as well