The most efficient way to achieve this is with top-rated Joomla extension.
You should only download and use extensions that are well rated on the Joomla official website.
A good practice is to only use extensions that have been updated recently and that has more than 10 000 downloads.
This is a top-rated Joomla Extension which will accomplish the task for you.