When I am trying to add downloadable product from back end at that time below error gets popped up

Link URL's domain is not in list of downloadable_domains in env.php


Magento has added this feature in latest 2.3.3 You have to whitelist the domains of those links through ssh in order to save them. To add a domain you have to run this command :

bin/magento downloadable:domains:add www.xyz.com

In order to get all whitelisted domains

bin/magento downloadable:domains:show

In order to remove a domain from whtielist

bin/magento downloadable:domains:remove www.xyz.com

You can refer to the CLI document

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.