admin管理员组

文章数量:1406060

I am working on my client WordPress project and I have uploaded the PDF in the media. When I open the PDF URL, it is not showing the favicon.

My client wants to show the favicon in the PDF url.

I have added the favicon.ico in the directory where the wp-config is there but after that it is not showing the favicon.

Any help is much appreciated.

I am working on my client WordPress project and I have uploaded the PDF in the media. When I open the PDF URL, it is not showing the favicon.

My client wants to show the favicon in the PDF url.

I have added the favicon.ico in the directory where the wp-config is there but after that it is not showing the favicon.

Any help is much appreciated.

Share Improve this question asked Nov 28, 2019 at 12:00 Rahul KumarRahul Kumar 2074 silver badges20 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I have just implemented this solution to my own website. I copied my site-icon.png file (the favicon that I inserted via the wordpress dashboard) to my root directory (public_html folder) and renamed it favicon.ico. To test that it was placed correctly I typed in the following www.mywebsite.co.za/favicon.ico and the favicon displayed. I then went and checked a pdf file and it worked.

本文标签: Not able to show the favicon to the uploads URL in WordPress