If your WordPress theme has an option for installing a favicon, it is a good idea to use the theme's functionality to install the favicon so that the favicon will be contained in the content folder of WordPress and will not require reinstalling if you move your content to another location.