Do you want to redirect the old URLs to the new URL? This plugin solve this problem. It redirects to the Canonical URL. It also supports the "Ignore Trailing Slash on SEO URLs" and "Individual storefront urls" plugins. And for the search engines to recognize this correctly, it sets a 301 HTTP status.