Will the URL setting 'Long with URL key' for Magento 1 work when I migrate to Magento 2?
If you've been using Improved Layered Navigation extension by Amasty for Magento 1 and now are going to migrate to M2, please pay a careful attention to your URL settings.
Unlike the Improved Layered Navigation for Magento 1, the extension for M2 doesn't provide the 'Long with URL key' option.
To switch your store to a new URL structure saving search traffic please do the following:
Add the below-displayed lines to the .htaccess file:
# Migrate from old-style URLs with 'shopby' key
RewriteRule ^(.*)/shopby/(.*)$ /$1/$2 [R=301,L]
The lines should be added right after:
This action will redirect existing traffic to a new URL structure.
IMPORTANT: If you've been using other parameters: 'Short without URLkey' or 'With GET parameters' you don't need to perform the above-described actions.