How can we remove "pub" from the media URL? Like below:
www.xyz.com/media/catalog/product
from www.xyz.com/pub/media/catalog/product
. we have googled but not found any solution. Any help will be appreciated. Thanks in advance.
Magento version 2.3.1
.