The documentation states that the module won't do anything when you don't add the website_code prefix to the storeview_code:
Important: the store code should include the website code otherwise it won't do anything.
However, if you don't add this to the storeview_code, it will break the storeview and throws an error:
Fatal error: Uncaught TypeError: Return value of Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage::getCategoryUrlSuffix() must be of the type string, null returned in /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php:148 Stack trace: #0 /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php(171): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->getCategoryUrlSuffix('12') #1 /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php(102): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->findProductRewriteByRequestPath(Array) #2 /var/www/application/releases/264/vendor/magento/module-url-rewrite/Model/Storage/AbstractStorage.php(66): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->doFindOneByData(Array) #3 /var/www/application/releases/264/vendor/magento/framework/Interception/Interceptor.php(58): Magento\UrlRewrite\Model\Storage\Abstra in /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php on line 148
I will investigate this. However, without the website_code prefix added tot the storeview_code the store view in question refuses to work. It makes going live with the module less easy. Because you have to keep the website in maintenance, then change all the storeview codes with the correct prefix, then enable your module and finally disable maintenance.
Magento 2.3.3 Nginx 1.17 PHP 7.3
The documentation states that the module won't do anything when you don't add the website_code prefix to the storeview_code:
However, if you don't add this to the storeview_code, it will break the storeview and throws an error:
Fatal error: Uncaught TypeError: Return value of Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage::getCategoryUrlSuffix() must be of the type string, null returned in /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php:148 Stack trace: #0 /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php(171): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->getCategoryUrlSuffix('12') #1 /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php(102): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->findProductRewriteByRequestPath(Array) #2 /var/www/application/releases/264/vendor/magento/module-url-rewrite/Model/Storage/AbstractStorage.php(66): Magento\CatalogUrlRewrite\Model\Storage\DynamicStorage->doFindOneByData(Array) #3 /var/www/application/releases/264/vendor/magento/framework/Interception/Interceptor.php(58): Magento\UrlRewrite\Model\Storage\Abstra in /var/www/application/releases/264/vendor/magento/module-catalog-url-rewrite/Model/Storage/DynamicStorage.php on line 148
It may be related to our 2.3.3 version:
https://github.com/magento/magento2/issues/24903
I will investigate this. However, without the website_code prefix added tot the storeview_code the store view in question refuses to work. It makes going live with the module less easy. Because you have to keep the website in maintenance, then change all the storeview codes with the correct prefix, then enable your module and finally disable maintenance.